-
Bug ReportCapacitor Version
Platform(s)iOS BehaviorMy app used to be able to receive Push Notifications. However, I noticed now that it has stopped working. Actually this is true for both of my apps using Push Notifications + Capacitor. Here is the gist of my setup: PushNotifications.addListener('registration', token => {
console.log(token.value)
});
PushNotifications.requestPermission().then(result => {
if (result.granted) {
PushNotifications.register();
}
}); Here is what I did to test that it wasn't my server:
Now, I don't know how to debug this further. Other Technical Details
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Capacitor doesn't officially support FCM on iOS, so if you are using FCM and not receiving notifications, it's probably not related to Capacitor. |
Beta Was this translation helpful? Give feedback.
-
The reason was that my APNs Certificates had expired so I replaced them with an APNs Authentication Key. |
Beta Was this translation helpful? Give feedback.
-
Hello, I maybe late to this but I got the same issue, I'm not receiving anything from the console. Any help? |
Beta Was this translation helpful? Give feedback.
-
i have the same issue |
Beta Was this translation helpful? Give feedback.
The reason was that my APNs Certificates had expired so I replaced them with an APNs Authentication Key.