Skip to main content
Version: 6.1.0

Track ANR issues

This feature is automatically activated.
It is available in both debug and release flavours of the SDK.

With basic integration Finotes will track and report UI/ Main thread blocks that can lead to App Not Responding (ANR) situations automatically. The stacktrace available with the issue report will help developers pinpoint the exact line that caused the issue.

In case user force closes the app from a App Not Responding dialog due to ANR, then a separate issue will be reported to the dashboard.

Setting custom threshold

Deprecation

This API is now deprecated and will be removed in a future version. Calling this API will have no effect as SDK tracks UI thread blocks from 700ms and up.

Developers can set custom time in milliseconds to track finer ANR issues using ANRThresholdInMilliseconds key in @Observe annotation in the application class. Once set, if the app UI/ Main thread gets blocked for more than the set amount of time, it will be raised as a bug report.

The field accepts any value between 500 milliseconds to 5000 milliseconds.

Application Class:

@Observe(ANRThresholdInMilliseconds = 1000)
public class BlogApp extends Application {
@Override
public void onCreate() {
super.onCreate();
Fn.init(this);
}
}