capacitor-community / fcm

Enable Firebase Cloud Messaging for Capacitor apps
https://capacitor.ionicframework.com/docs/
MIT License
243 stars 83 forks source link

Unable to receive notifications on iOS even with demo app #18

Closed digaus closed 4 years ago

digaus commented 5 years ago

Currently trying to get this to work on iOS.

  1. Added iOS App to Firebase
  2. Generated and .p8 file and added to Firebase
  3. Generated certificate for APNs Development for my app aswell as a povisioning profile for development
  4. Added GoogleService-Info.plist to App
  5. Build app on iPad, receive token or subscribe to topic

But I am not able to receive notifications with token or via the topic... on Android everything works fine though :/

Any ideas what I am missing?

digaus commented 5 years ago

Don't know how I got it to work but removed and added iOS project to firebase console. Now it seems to work :D

digaus commented 4 years ago

Oh man ... iOS is giving me headaches... Paused for a while and now wanted to continue and publish my app. For whatever reason I cannot get the Push Notifications to work now again. I even tried removing and adding new .p8 file and completely remove the project from firebase. Nothing worked. I cannot receive a notification. I am getting an fcm token an no errors. Yet I do not receive the notification which I send. Even the demo App is not working anymore... not notifications received...

If you have any idea please help. @stewwan

digaus commented 4 years ago

Ok for everyone. Got it working again after generating new certs and profiles and completely remove iOS project and add it again. Seems to work for now.