Skip to main content
Version: 4.3.1

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.

Setting custom threshold

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);
}
}