Open eli1stark opened 2 days ago
Is there a way for us to quickly patch it to production based on Firebase Apple v11.4.0?
Impact: It's currently affecting all iOS devices that are using versions of the apps built post-Oct. 10th (maybe even earlier) and using v3.5.0
, v3.6.0
of firebase_core
and v3.5.0
and v3.5.1
of firebase_auth
. All iOS devices are crashing randomly (sometimes they do and sometimes they don't) within the first seconds of a user session in production.
Is there an existing issue for this?
Which plugins are affected?
Auth
Which platforms are affected?
iOS
Description
Since we released the version of our app on Oct 10th, these crashes started happening. We had v5.3.0 of firebase_auth, and we weren't updating anything, so it might be something related to the recent updates of FirebaseExtension which is fetched automatically by Podfile while the app is built. Since we updated to v5.3.1 of firebase_auth and released a new app version on Oct 22nd, these crashes have increased in frequency and are now impacting around 50 of our users, with this number growing. It's hard to make sense of the error itself, but it seems related to sign-up. Also, it's interesting that this crash happens in the first second of user sessions, as per Crashlytics, which makes it even more puzzling.
Couple of crashes:
Reproducing the issue
This crash only impacts iOS devices. We went through all possible auth scenarios in our app, and we couldn't reproduce it locally in debug mode. However, we were able to reproduce it with our production build, the app indeed crashes in the first second of the session. We recorded crashes on iOS 17 and iOS 18.
Firebase Core version
3.6.0
Flutter Version
3.24.3
Relevant Log Output
No response
Flutter dependencies
Expand
Flutter dependencies
snippet```yaml firebase_core: 3.6.0 firebase_crashlytics: 4.1.3 firebase_analytics: 11.3.3 firebase_dynamic_links: 6.0.8 firebase_app_check: 0.3.1+2 firebase_auth: 5.3.1 firebase_database: 11.1.4 firebase_performance: 0.10.0+7 firebase_remote_config: 5.1.3 cloud_firestore: 5.4.4 cloud_functions: 5.1.2 firebase_app_installations: 0.3.1+3 ```
Additional context and comments
Similar issues:
It doesn't seem that Firebase Apple 11.4.0 fixed the issue or flutter package is using older version of iOS plugin.