I have found glitch in crashlytics/fabric initialization. As Mike from crashlytics suggests here: how to initialize new fabric we should use:
Fabric.with(this, CrashlyticsCore.getInstance());
But when i switched to androidX it started crashing with:
Must Initialize Fabric before using singleton()
Some of my main settings is:
compileSdkVersion 29
targetSdkVersion 29
io.fabric.tools:gradle:1.28.1
gradle: 5.5.1
com.crashlytics.sdk.android:crashlytics:2.10.0@aar
In onCreate in my Application class:
@Override
public void onCreate() {
super.onCreate();
Fabric.with(this, CrashlyticsCore.getInstance());
}
Of course i have metadata in manifest:
<meta-data
android:name="io.fabric.ApiKey"
android:value="myKey"/>