EddyVerbruggen / nativescript-plugin-firebase

:fire: NativeScript plugin for Firebase
https://firebase.google.com
MIT License
1.01k stars 448 forks source link

Crashlytics error causing lots of app crashes - FIRCLSUserLogging.m #1798

Open 7ammer opened 3 years ago

7ammer commented 3 years ago

Description

Crashlytics is showing an error for ios users. This error has caused 500 crashes in 2 days so far.

Crashlytics errors:

FIRCLSUserLogging.m line 305
__FIRCLSUserLoggingRecordError_block_invoke
Fatal Exception: NSInvalidArgumentException
-[TNSDictionaryAdapter domain]: unrecognized selector sent to instance 0x283e10240
__FIRCLSUserLoggingRecordError_block_invoke
Crashed: com.google.firebase.crashlytics.ios.exception
EXC_BREAKPOINT 0x00000001a38d9410

Do these error messages mean anything to you? I can screenshot the whole error page if that's helpful.

Things I did in my project

run: ns build ios --release --env.hiddenSourceMap --env.uglify --for-device

Open and archiving lectio365app.xcworkspace is fine.

Opening and archiving lectio365app.xcodeproj causes an error (I think this is to be expected so this could potentially be ignored): Lexical or Preprocessor Issue Group > /absolute-path-to-app-project/platforms/ios/internal/ main.m:15:9: 'FirebaseCrashlytics/FirebaseCrashlytics.h' file not found

version info

    "tns-android": {
      "version": "6.5.3"
    },
    "tns-ios": {
      "version": "6.5.4"
    }
    "nativescript-plugin-firebase": "^10.6.3",
    "tns-core-modules": "^6.5.24",

    ns-cli 7.1.2
srh545 commented 2 years ago

Same here. We get an initial spate of a few dozen of crashes then they seem to disappear until the next versioned release.