Cordova-plugin-firebase: [FIRTrace updateTraceWithSessionId]_block_invoke

Created on 2 Nov 2018  ·  3Comments  ·  Source: arnesson/cordova-plugin-firebase

Describe the bug
This is a bug from the Firebase SDK, that we are seeing through this plugin: https://github.com/firebase/firebase-ios-sdk/issues/2019

Essentially a large number of our users are experiencing crashing due to Crashlytics.

To Reproduce
Steps to reproduce the behavior:

  1. App Starts with Cordova-plugin-firebase
  2. Certain performance triggers cause Firebase SDK to crash

Expected behavior
No App should Crash due to the presence of an Analytics / Crash monitoring solution

Plugin Version
cordova-plugin-firebase 2.0.5 "Google Firebase Plugin"

Desktop (please complete the following information):

Smartphone (please complete the following information):

  • Device: iPhone(s)
  • OS: iOS 11.4.1 and 12.0.2

Additional context
Following the bug report directly on Firebase SDK, the solution appears to be to update the Firebase plugin to 5.11 making sure the performance SDK within Firebase is 2.2.

Additionally there are some notes around back end fixes, but these I believe are with Google and are outside of this plugins scope.

Most helpful comment

I have added a PR #937, I have also been using this in my production project and have seen the crash no longer reported for the version with this upgrade, everything appears to be working. I am however struggling with the CI on the PR, so any help gratefully received.

All 3 comments

@soumak77 Hey Brian, I hope all is well?

I was trying to upgrade the Firebase Frameworks for iOS but I couldn't see how you obtained some of the Frameworks like: FirebaseAuth.framework from CocoaPods it only gives me src, do you build from src, or obtain the frameworks another way?

Found the link: Integrate without CocoaPods. I will do a PR with the latest, hopefully that will resolve.

I have added a PR #937, I have also been using this in my production project and have seen the crash no longer reported for the version with this upgrade, everything appears to be working. I am however struggling with the CI on the PR, so any help gratefully received.

Was this page helpful?
0 / 5 - 0 ratings