Enabling DryRun mode
Prevent issues from being reported to the dashboard.
Only to be used in development environment.
During development, you can set the dryRun mode, so that the issues raised will not be sent to the server.
Please note that the SDK will be active and working normally even with the flag enabled except that issues wont be sent to the server.
Application Class:
- Java
- Kotlin
public class BlogApp extends Application {
@Override
public void onCreate() {
super.onCreate();
Fn.init(this);
Fn.dryRun();
}
}
class BlogApp: Application() {
override fun onCreate() {
super.onCreate()
Fn.init(this)
Fn.dryRun()
}
}
When preparing for production release, make sure to unset the DryRun API.