コミュニティアチーブメントバーを展開する。

Submissions are now open for the 2026 Adobe Experience Maker Awards

Mark Solution

この会話は、活動がないためロックされています。新しい投稿を作成してください。

解決済み

Counted a lot of crash event after new mobile app launched

Avatar

Level 2

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 受け入れられたソリューション

Avatar

正解者
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.

元の投稿で解決策を見る

2 返信

Avatar

正解者
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 2

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