Search code examples
iosfirebasepush-notificationapple-push-notificationsfirebase-cloud-messaging

Firebase Cloud Messaging Push Notificartions don't arrive on iOS anymore


I have a problem with Firebase Cloud Messaging on iOS. I have implemented Firebase into the app like stated in the docs and a Firebase instance id is generated. However, if I try to send a push notification (for example using http://pushtry.com/), nothing happened. The thing is, it did work, and I don't remember changing anything to do with notifications.

Because I couldn't find anything, I even tried deleting the whole project and doing everything again from scratch (by copying the code). Then it worked again, but now (an hour later) again, it again doesn't work.

If I send a FCM from pushtry or from the Firebase Console, it says the message is delivered, but nothing happens! (Push notifications are enabled in the iOS Settings. It did work)

I really don't know what to do. Does anybody know about anything I could do?

Thank you in advance.


Solution

  • Okay after two whole days of utmost frustration, I figured it out. The problem was the line FirebaseAppDelegateProxyEnabled set to NO in the info.plist file.

    After I removed the line, the problem was gone!

    I am so relieved right now