cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ADEUMInstrumentation.takeScreenShot()

fxlv
Wanderer

Scenario: iOS platform running Swift 3.1-written enterprise applications.

I'm an AppDynamics™ neophyte.
I can't find much detailed code information.

Where can I get a list of the available APIs of their ADEUMInstrumentation.framework?

Also, how does the ADEUMInstrumentation.takeScreenShot() work?
That is, could I capture the screen shot into a variable and pass it to server for analysis?

Any code samples or further references to study?

7 REPLIES 7

Gaurav.Soni
AppDynamics Team (Retired)

Hi,

 

The documentation for IOS agent framework is here.

For more on snapshots see

https://docs.appdynamics.com/javadocs/ios-sdk/4.3/4.3.3/html/Classes/ADEumInstrumentation.html#//api...

 

I don't see a way to save it to a variable.

 

Regards,

Gaurav Soni

 



Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.

Thanks for the reply.

I've read thru the discussion that you had linked.

So the purpose of the screenshots is to display such shots in real time:

"These screenshots will show up in the Sessions screen for this user."

... now all I need to know is where is this 'Sessions screen'.

 

Gaurav.Soni
AppDynamics Team (Retired)

Hi,

 

The documentation is talking about Mobile sessions. There are two ways to see mobile sessions. First, you go to your mobile application on the controller and you will see a Sessions link on the left navigation panel. Second, if you have mobile analytics license you can go to 'Analytics' tab from the top bar and then click on the "+" icon and choose mobile sessions from the drop down.

 

For more on mobile sessions and screenshots please go to the following link.

https://docs.appdynamics.com/display/PRO43/Mobile+Sessions

https://docs.appdynamics.com/display/PRO43/Mobile+Screenshots

https://docs.appdynamics.com/display/PRO43/Configure+Mobile+Screenshots

https://docs.appdynamics.com/display/PRO43/Take+Mobile+Screenshots

https://docs.appdynamics.com/display/PRO43/View+Mobile+Screenshots

 

Regards,

Gaurav Soni

 

 

 



Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.

I had followed one of the links to the Mobile App Configuration URL in the attempt to access the Screenshot panel.  However I'm unable to 'Enable Mobile Screenshot'.  As you can see, the SAVE button is faded and I'm unable to check the check boxes.

Question: What do I need to do to activate the screen?

Inactive ScreenInactive Screen

 

1) I attempted to regester my app with a configuration to capture all:

Register AppDynamicsRegister AppDynamics

2) Then I took a screen shot & left a bread crumb:

Attempt to take a screenshot & make a breadcrumbAttempt to take a screenshot & make a breadcrumb

3) Then I made a forced crash-on-demand:

Force a CrashForce a Crash

4) But I didn't get any screen shots:

 

No ScreenshotsNo Screenshots

 

... nor breadcrumbs:No BreadcrumbsNo Breadcrumbs

 

Question: What am I missing?  

Why don't I get any screenshots??

 

...thanks for helping.

Gaurav.Soni
AppDynamics Team (Retired)

Did you check the EUM configuration permission for your user?



Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.

Gaurav.Soni
AppDynamics Team (Retired)

Hi,

 

By default breadcrumbs are available only in crash reports to make it visible in Sessions you need to turn on the 'ADEumBreadcrumbVisibilityCrashesAndSessions'mode

 

Using this method lets you fine tune where the breadcrumbs are reported, either only in crash reports or in crash reports and sessions.

 

 
Where mode is either:
- ADEumBreadcrumbVisibilityCrashesOnly
- ADEumBreadcrumbVisibilityCrashesAndSessions
 
 


Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.
On-Demand Webinar
Discover new Splunk integrations and AI innovations for Cisco AppDynamics.


Register Now!

Observe and Explore
Dive into our Community Blog for the Latest Insights and Updates!


Read the blog here