You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Enable push notifications and background modes in XCode by opening `ios/Runner.xcworkspace` and adding the **Push Notifications** capability and **Background Modes** (Background fetch and Remote notifications)
99
+
- Upload your APNs authentication key to Firebase console under **Cloud Messaging** settings
100
+
- Request notification permission at runtime using `FirebaseMessaging.instance.requestPermission()`
101
+
1. **For Android**: FCM requires devices running Android 5.0 or higher with Google Play services installed.
102
+
1. **For Web**: Add a `firebase-messaging-sw.js` file in your `web/` directory that imports the Firebase messaging SDK and handles background messages.
0 commit comments