Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Counted a lot of crash event after new mobile app launched

Avatar

Level 1

Hi all,

We counted a lot of crash event after new mobile app launched, is it related mobile app upgrade?

 

Any idea to find out the root cause on it? Thanks so much!


Regards,
L

1 Accepted Solution

Avatar

Correct answer by
Level 4

Hey @Lee_Lemen 

 

Are you using the latest SDK ?

 

Crashes are determined as a part of the LifeCycle metrics.

 

When lifecycle metrics are implemented, a call is made to 'Config.collectLifecycleData' in the 'OnResume' method of each activity. In the 'onPause' method, a call is made to 'Config.pauseCollectingLifeCycleData'.

 

In the 'pauseCollectingLifeCycleData', a flag is set to indicate a graceful exit. When the app is launched again or resumed, 'collectLifecycleData' checks this flag. If the app did not exit successfully as determined by the flag status, an 'a.CrashEvent' context data is sent with the next call and a crash event is reported.

 

To ensure accurate crash reporting, you must call 'pauseCollectingLifeCycleData' in the 'onPause' method of each activity. Hope this helps.

View solution in original post

2 Replies

Avatar

Correct answer by
Level 4

Hey @Lee_Lemen 

 

Are you using the latest SDK ?

 

Crashes are determined as a part of the LifeCycle metrics.

 

When lifecycle metrics are implemented, a call is made to 'Config.collectLifecycleData' in the 'OnResume' method of each activity. In the 'onPause' method, a call is made to 'Config.pauseCollectingLifeCycleData'.

 

In the 'pauseCollectingLifeCycleData', a flag is set to indicate a graceful exit. When the app is launched again or resumed, 'collectLifecycleData' checks this flag. If the app did not exit successfully as determined by the flag status, an 'a.CrashEvent' context data is sent with the next call and a crash event is reported.

 

To ensure accurate crash reporting, you must call 'pauseCollectingLifeCycleData' in the 'onPause' method of each activity. Hope this helps.

Avatar

Level 1

Hi @RaawiMahendru,

Thank you for your reply.

We're using Object-c version (ACP 2.X). The a.CrashEvent should be collect automatically and no need to manual implement  lifecycle data collect as my understanding. In this case, the false crash report handling is covering unexerted situation? Am I correct? 

Lifecycle extension in iOS - Adobe Experience Platform Mobile SDKs (gitbook.io)

Thank you.

Regards,
Lemen