All Products
Search
Document Center

Mobile Platform as a Service:Stuck analysis

Last Updated:Jul 12, 2023

Stuck analysis provides statistics on stuck times, stuck rate, and affected devices.

Stuck includes the following conditions:

Stuck type

Android

iOS

Startup stuck

The app fails to leave welcome page and enter home page within 30 seconds after startup.

The UIApplicationDidFinishLaunchingNotification notification was not received 15s after the app started (30s on low-end devices).

ANR stuck

System ANR stuck, see ANRs on Android Official Website for definition.

The app's main thread hasn't completed executing any method within 5 seconds at runtime.

Integrate stuck analysis function

Android

Follow these steps:

  1. Integrate Mobile Analytics Service. For more information, see Integrate MAS to Android.

  2. Enable stuck monitoring. Based on the SDK version, see Android performance log.

iOS

Follow these steps:

  1. Integrate Mobile Analytics Service. For more information, see Integrate MAS to iOS.

  2. Enable stuck monitoring. Based on the SDK version, see iOS performance log.

View stuck report

In the console, choose Mobile Analysis Service > Performance analysis > Stuck report and view the Stuck rate, Stuck devices, Stuck users, and Stuck report. Click the information in Details to view detailed stuck information.

  • Device details:

    • Device ID: The format is IMSI|IMEI.

    • Platform: Consists of 3 fields, which are appId-Platform-workspaceId.

  • Log details: Log records are separated by comma and contain complete error stacks. For the specific meaning of each field, see Log model > Performance tracking > Stuck tracking.

Stuck analysis is in quasi real time. Namely, you can view the preceding report after the App stucks and a stuck log is reported.