Track screen loading delay
This feature is automatically activated.
It is available in both debug and release flavours of the SDK.
Finotes SDK is capable of auto detecting activity loading delay with basic integration.
Go to How To Integrate section to complete the basic integration.
If an activity takes more than 6 seconds to load then it will be raised as a bug report.
Setting custom screen loading threshold
Deprecation
The @Observe annotation based API is now deprecated and will be removed in a future version. Use the following @FnObserve annotation based API.
Developers can set custom time (in milliseconds) to track screen loading delays using @FnObserve annotation in the application class. Once set, if any of the app activity takes more than the set amount of time to load, it will be raised as a bug report.
- Java
- Kotlin
@FnObserve(screenLoaddelayTimeout = 3000)
public class BlogApp extends Application {
@Override
public void onCreate() {
super.onCreate();
Fn.init(this);
}
}
@FnObserve(screenLoaddelayTimeout = 3000)
class BlogApp: Application() {
override fun onCreate() {
super.onCreate()
Fn.init(this)
}
}