End User Monitoring (EUM)

cancel
Showing results for 
Search instead for 
Did you mean: 

ADEUMInstrumentation.takeScreenShot()

Wanderer

ADEUMInstrumentation.takeScreenShot()

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?

Tags (2)
ADEUMInstrumentation.takeScreenShot()
7 REPLIES 7
AppDynamics Team

Re: ADEUMInstrumentation.takeScreenShot()

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.
Highlighted
Wanderer

Re: ADEUMInstrumentation.takeScreenShot()

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'.

 

AppDynamics Team

Re: ADEUMInstrumentation.takeScreenShot()

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.
Wanderer

Re: ADEUMInstrumentation.takeScreenShot()

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?

one.pngInactive Screen

 

Wanderer

Re: ADEUMInstrumentation.takeScreenShot()

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

Screen Shot 2017-07-19 at 4.40.41 PM.pngRegister AppDynamics

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

Screen Shot 2017-07-19 at 4.40.20 PM.pngAttempt to take a screenshot & make a breadcrumb

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

Screen Shot 2017-07-19 at 4.39.58 PM.pngForce a Crash

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

 

Screen Shot 2017-07-19 at 1.29.04 PM.pngNo Screenshots

 

... nor breadcrumbs:Screen Shot 2017-07-19 at 4.46.02 PM.pngNo Breadcrumbs

 

Question: What am I missing?  

Why don't I get any screenshots??

 

...thanks for helping.

AppDynamics Team

Re: ADEUMInstrumentation.takeScreenShot()

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.
AppDynamics Team

Re: ADEUMInstrumentation.takeScreenShot()

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.