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
Solved! Go to Solution.
Views
Replies
Total Likes
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.
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.
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
Views
Replies
Total Likes
Views
Like
Replies
Views
Likes
Replies
Views
Likes
Replies