wizpanda / cordova-plugin-firebase-lib

This repository is moving & merging to https://github.com/wizpanda/cordova-plugin-firebase-lib to avoid confusion to developers.
https://www.wizpanda.com/
MIT License
68 stars 38 forks source link

Drowning in "NSInvalidArgumentException / updateTraceWithSessionId" errors after publishing app with this plugin #4

Open remisture opened 5 years ago

remisture commented 5 years ago

Describe the bug After installing this plugin I suddenly get LOTS of crashes reported to Firebase Crashlytics. I previously had cordova-plugin-firebase installed, but I believe that plugin doesn't have the Crashlytics SDK included, so I haven't seen anything reported in Crashlytics before. Kinda ironic that Crashlytics shows that Crashlytics is failing :)

Expected behavior No crashes

Screenshots Screenshot from Crashlytics:

error_screen

Console Logs

Fatal Exception: NSInvalidArgumentException
0  CoreFoundation                 0x1f7ebc518 __exceptionPreprocess
1  libobjc.A.dylib                0x1f70979f8 objc_exception_throw
2  CoreFoundation                 0x1f7e35f8c _CFArgv
3  CoreFoundation                 0x1f7dac40c -[__NSSetM addObject:]
4  WOD Roulette                   0x101697ba4 __36-[FIRTrace updateTraceWithSessionId]_block_invoke
5  libdispatch.dylib              0x1f78fca38 _dispatch_call_block_and_release
6  libdispatch.dylib              0x1f78fd7d4 _dispatch_client_callout
7  libdispatch.dylib              0x1f78a6320 _dispatch_lane_serial_drain$VARIANT$mp
8  libdispatch.dylib              0x1f78a6e3c _dispatch_lane_invoke$VARIANT$mp
9  libdispatch.dylib              0x1f78af4a8 _dispatch_workloop_worker_thread
10 libsystem_pthread.dylib        0x1f7add114 _pthread_wqthread
11 libsystem_pthread.dylib        0x1f7adfcd4 start_wqthread

Plugin Version cordova-plugin-firebase-lib 3.0.0 "Google Firebase Plugin"

Smartphone (please complete the following information):