Release Build
Make sure that dryRun() and log() APIs are not executed in release builds and proguard rules are added as specified.
Application Class:
- Java
- Kotlin
public class BlogApp extends Application {
@Override
public void onCreate() {
super.onCreate();
Fn.init(this);
}
}
class BlogApp: Application() {
override fun onCreate() {
super.onCreate()
Fn.init(this)
}
}
Please make sure that the mapping file of each production build is manually backed up, in-order to deobfuscate the stacktrace from Finotes dashboard.
Location of mapping file: project-folder/app/build/outputs/proguard/release/mapping.txt