Things to check before integrating any third party SDK in your Android app

Yukti Srivastava
MindOrks
Published in
2 min readJan 15, 2018

Battery

  1. Excessive Wakeups

Percentage of battery sessions during which more than 10 wakeups occurred per hour. A battery session is the period between two full charges of a device. Data is collected only when the device is off-charger.

Threshold: 1.35%

Source: https://developer.android.com/topic/performance/vitals/wakeup.html

2. Excessive WiFi Scans

Percentage of battery sessions during which users experienced more than 4 Wi-Fi scans per hour. A battery session is the period between two full charges of a device. Data is collected only when the device is off-charger.

Threshold: 0.10%

Source: https://developer.android.com/topic/performance/vitals/bg-wifi.html

Stability

  1. ANR(App Not Responding)

Percentage of daily sessions during which your users experienced at least one ANR. A daily session refers to a day during which your app was used.

Threshold: 0.47%

Source: https://developer.android.com/topic/performance/vitals/anr.html

2. Multi-ANR (App Not Responding) rate over time

Percentage of daily sessions during which your users experienced at least two ANRs. A daily session refers to a day during which your app was used

Threshold: 0.24%

Source: https://developer.android.com/topic/performance/vitals/anr.html

3. Crash Rate

Percentage of daily sessions during which your users experienced at least one crash. A daily session refers to a day during which your app was used.

Threshold: 1.09%

Source: https://developer.android.com/topic/performance/vitals/crash.html

4. Multi Crash Rate

Percentage of daily sessions during which your users experienced at least two crashes. A daily session refers to a day during which your app was used.

Threshold: 0.18%

Source: https://developer.android.com/topic/performance/vitals/crash.html

Rendering

  1. Slow Rendering

Percentage of daily sessions during which more than 50% of frames took longer than 16 ms to render. A daily session refers to a day during which your app was used. Google collects the render time of each frame rendered by your app if your app uses the UI Toolkit framework, but not if your app uses OpenGL directly.

Threshold: 1.56%

Source: https://developer.android.com/topic/performance/vitals/render.html

2. Frozen Frames

Percentage of daily sessions during which more than 0.1% of frames took longer than 700ms to render. A daily session refers to a day during which your app was used. Google collects the render time of each frame rendered by your app if your app uses the UI Toolkit framework, but not if your app uses OpenGL directly.

Threshold: 10.48%

Source: https://developer.android.com/topic/performance/vitals/render.html

--

--