Current behavior:
We just uploaded a hybrid App to our users (60.000) and got some Crashes. One seems to be related to this Plugin. Stacktrace:
java.lang.IllegalStateException: Must Initialize Fabric before using singleton()
io.fabric.sdk.android.Fabric.singleton Fabric.java:301
io.fabric.sdk.android.Fabric.getKit Fabric.java:551
com.crashlytics.android.Crashlytics.getInstance Crashlytics.java:191
com.crashlytics.android.Crashlytics.checkInitialized Crashlytics.java:390
com.crashlytics.android.Crashlytics.log Crashlytics.java:221
org.apache.cordova.firebase.FirebasePlugin.handleExceptionWithoutContext FirebasePlugin.java:2024
org.apache.cordova.firebase.FirebasePlugin$AuthStateListener.onAuthStateChanged FirebasePlugin.java:2158
com.google.firebase.auth.zzi.run
android.os.Handler.handleCallback Handler.java:808
android.os.Handler.dispatchMessage Handler.java:101
com.google.android.gms.internal.firebase_auth.zzj.dispatchMessage
android.os.Looper.loop Looper.java:166
android.app.ActivityThread.main ActivityThread.java:7529
java.lang.reflect.Method.invoke Method.java
com.android.internal.os.Zygote$MethodAndArgsCaller.run Zygote.java:245
com.android.internal.os.ZygoteInit.main ZygoteInit.java:921
This happens at the Moment to two Users. Both with Android 8 on an Mate 10 lite.
Expected behavior:
I expect to not crash the App xD
Environment information
android 8.1.0
ios 5.1.1
call-number 0.0.2 "Cordova Call Number Plugin"
com.googlemaps.ios 3.5.0 "Google Maps SDK for iOS"
cordova-background-geolocation 3.6.0 "BackgroundGeolocation"
cordova-clipboard 1.3.0 "Clipboard"
cordova-open-native-settings 1.5.2 "Native settings"
cordova-plugin-add-swift-support 2.0.2 "AddSwiftSupport"
cordova-plugin-advanced-background-mode 1.0.4 "BackgroundMode"
cordova-plugin-advanced-http 2.4.1 "Advanced HTTP plugin"
cordova-plugin-advanced-nativeaudio 1.0.2 "Cordova Native Audio"
cordova-plugin-advanced-websocket 1.1.5 "Cordova advanced websocket plugin"
cordova-plugin-android-permissions 1.0.2 "Permissions"
cordova-plugin-androidx 1.0.2 "cordova-plugin-androidx"
cordova-plugin-androidx-adapter 1.1.0 "cordova-plugin-androidx-adapter"
cordova-plugin-app-version 0.1.9 "AppVersion"
cordova-plugin-appavailability 0.4.2 "AppAvailability"
cordova-plugin-appcenter-crashes 0.5.1 "App Center Crashes for Cordova"
cordova-plugin-appcenter-shared 0.5.1 "App Center shared code for Cordova"
cordova-plugin-apprate 1.5.0 "AppRate"
cordova-plugin-background-fetch 6.0.3 "CDVBackgroundFetch"
cordova-plugin-badge 0.8.8 "Badge"
cordova-plugin-bluetoothle 4.5.7 "Bluetooth LE"
cordova-plugin-camera 4.1.0 "Camera"
cordova-plugin-contacts 3.0.1 "Contacts"
cordova-plugin-device 2.0.3 "Device"
cordova-plugin-dfu-update 1.0.3 "DFU Update"
cordova-plugin-dialogs 2.0.2 "Notification"
cordova-plugin-email-composer 0.9.2 "EmailComposer"
cordova-plugin-facebook4 6.3.0 "Facebook Connect"
cordova-plugin-file 6.0.2 "File"
cordova-plugin-file-opener2 3.0.0 "File Opener2"
cordova-plugin-file-transfer 1.7.1 "File Transfer"
cordova-plugin-firebasex 8.0.1 "Google Firebase Plugin"
cordova-plugin-flic-lib 1.1.1 "Flic"
cordova-plugin-google-analytics 1.8.6 "Google Universal Analytics Plugin"
cordova-plugin-googlemaps 2.7.0-20191107-1035 "cordova-plugin-googlemaps"
cordova-plugin-inappbrowser 3.2.0 "InAppBrowser"
cordova-plugin-ionic-keyboard 2.2.0 "cordova-plugin-ionic-keyboard"
cordova-plugin-ionic-webview 4.1.3 "cordova-plugin-ionic-webview"
cordova-plugin-ios-disableshaketoedit 1.0.0 "iOS Disable Shake to Edit"
cordova-plugin-ios-keychain 3.0.1 "KeyChain Plugin for Cordova iOS"
cordova-plugin-local-notification 0.9.0-beta.3 "LocalNotification"
cordova-plugin-market 1.2.0 "Market"
cordova-plugin-nativestorage 2.3.2 "NativeStorage"
cordova-plugin-network-information 2.0.2 "Network Information"
cordova-plugin-play-default-sounds 1.0.0 "PlayDefaultSounds"
cordova-plugin-safariviewcontroller 1.6.0 "SafariViewController"
cordova-plugin-secure-preferences 1.2.2 "Secure Preferences"
cordova-plugin-sms-retriever-manager 0.0.2 "Device"
cordova-plugin-splashscreen 5.0.3 "Splashscreen"
cordova-plugin-statusbar 2.4.3 "StatusBar"
cordova-plugin-timer 1.0.1 "Native timer"
cordova-plugin-vibration 3.1.1 "Vibration"
cordova-plugin-whitelist 1.3.4 "Whitelist"
cordova-plugin-x-socialsharing 5.6.4 "SocialSharing"
cordova-plugin-zip 3.1.0 "cordova-plugin-zip"
cordova-sqlite-storage 4.0.0 "Cordova sqlite storage plugin - cordova-sqlite-storage plugin version"
cordova-support-google-services 1.3.2 "cordova-support-google-services"
cordova.plugins.diagnostic 5.0.1 "Diagnostic"
es6-promise-plugin 4.2.2 "Promise"
ionic-plugin-deeplinks 1.0.20 "Ionic Deeplink Plugin"
Thanks for reporting, I'll follow the stack trace and see if I can find the cause.
Nice thank you 馃憤 But this is android related, i think you added the wrong Label? 馃檲
oops wrong label 馃榿
This is implicitly fixed by https://github.com/dpa99c/cordova-plugin-firebasex/commit/9aabc17ea2deb0d6a3099c0189bd3f11b3658676 and will be release in v9.0.0
v9.0.0 has now been published