[firebase_messaging]: App sometimes crashes on background messages due to FirebaseAuth #12806
Closed
5 tasks done
Labels
Needs Attention
This issue needs maintainer attention.
platform: ios
Issues / PRs which are specifically for iOS.
plugin: messaging
resolution: fixed
A fix has been merged or is pending merge from a PR.
type: bug
Something isn't working
Is there an existing issue for this?
Are you aware of the differences between iOS and Android background message handling?
Do you have an active Apple Developer account?
Are you using a physical iOS device to test background messages?
Have you enabled "Remote Notifications" & "Background Mode" (Checking options for "Background Processing" & "Remote Notifications") in your app's Xcode project?
Have you created an APNs key in your Apple Developer account & uploaded this APNs key to your Firebase console?
Have you disabled method swizzling for Firebase in your app?
The key is not in my info.plist file
Are you sending messages to your app from the Firebase Admin SDK?
Have you requested permission from the user to receive notifications?
Have you used the 'Console' application on your macOS device to check if the iOS device's system is throttling your background messages?
Not relevant
Additional context and comments
My Flutter app (production) shows crashes when users receive notifications. This is nothing I can recreate, and it "only" happens to around 100 users.
According to my backend logs, this crash seems to happen when a notification is being sent to a user. My assumption is, that this is happening while the app is in the background.
Normal notifications (and background notifications) work fine in most cases.
I am currently not having "Background processing" enabled in Xcode, as I followed the documentation when setting up Firebase Messaging.
The text was updated successfully, but these errors were encountered: