Enable Finotes Logs
You can activate intenal logging using a single line API.
Call Fn.log() API to enable SDK logging. Activating log will print all internal SDK logs in LogCat including error and warning logs.
Application Class:
- Java
- Kotlin
public class BlogApp extends Application {
@Override
public void onCreate() {
super.onCreate();
Fn.init(this);
Fn.log();
}
}
class BlogApp: Application() {
override fun onCreate() {
super.onCreate()
Fn.init(this)
Fn.log()
}
}
When preparing for production release, make sure to remove the log API.