Expand my Community achievements bar.

SOLVED

Android Mobile Crashes are Very high in Adobe Analytics

Avatar

Level 3

Hi All,

We have implemented Analytics code in Android and iOS applications and data is getting captured.

But its very strange that the crashes for Android is very high. While iOS is much lesser, not sure what is the issue. Is there some definition from Adobe how the crashes is calculated.

Is there a way where can we get to know reason for a crash for both the Apps.

Can we do some additional tagging to reduce crashes

Thanks in advance.

Regards

Tirumal

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor and Adobe Champion

Hi Tirumal,

If you need more information on Andriod Application Crashes implementation, kindly go through the Track App Crashes

All of your Activities should correctly callcollectLifecycleData()andpauseCollectingLifecycleData().

Thank You!

Arun

View solution in original post

3 Replies

Avatar

Employee

Hi Tirumal,

Crashes are calculated as 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. Additionally, please make sure you are using the latest SDK.

Avatar

Correct answer by
Community Advisor and Adobe Champion

Hi Tirumal,

If you need more information on Andriod Application Crashes implementation, kindly go through the Track App Crashes

All of your Activities should correctly callcollectLifecycleData()andpauseCollectingLifecycleData().

Thank You!

Arun