I have an iOS 10 app in which I am trying to set up support for Firebase notifications. However when sending messages through the Firebase Cloud Messaging console (targeting all iOS devices), the notifications do not appear on my device.
What I have done:
- Uploaded APNs Authentication Key to Firebase. Entered the Key ID, and the Team ID as the App ID prefix.
- Enabled 'Push Notifications' in Xcode Capabilities
- Provisioning Profile has 'Push Notification' service enabled
- Modified
AppDelegate.m
to the following: https://github.com/firebase/quickstart-ios/blob/master/messaging/MessagingExample/AppDelegate.m
After sending the notification through the Firebase console, I can see that it has been sent to '0' devices.
Can anyone advise?