Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Not Receiving push notifications from firebase

I checked my provisioning profiles and all are fine as i used the profiles in a demo provided by firebase, & i am receiving push notifications from that demo project. Issue is In my main project I am using :

  • same code as demo project.
  • same provisioning profiles.
  • same .plist file.
  • same pods with same version.

Still I am not able to receive push notifications in my project. Let me know where is i am missing something.

like image 906
Shivam Tripathi Avatar asked Jan 12 '18 00:01

Shivam Tripathi


People also ask

How do I get firebase to push notifications?

Go to Firebase console — →Project Settings — →Cloud Messaging. To send the message select Body — →Raw — →JSON(application/json). You can send Notification Payload , Data Payload and even both using POSTMAN service.

Is there any limit for Firebase push notification?

Notification messages can contain an optional data payload. Maximum payload for both message types is 4000 bytes, except when sending messages from the Firebase console, which enforces a 1024 character limit.

How do I test FCM push notifications?

Send a test notification messageOpen the Notifications composer and select New notification. Enter the message text. Select Send test message. In the field labeled Add an FCM registration token, enter the registration token you obtained in a previous section of this guide.

Does firebase store push notifications?

Version. Firebase Cloud Messaging (FCM) is a set of tools that sends push notifications and small messages of up to 4 KB to different platforms: Android, iOS and web. This topic is useful because you use push notifications in a lot of mobile projects. Firebase is one of the simplest methods to get notifications working ...


1 Answers

As you have tried refreshing the certificates and checking that other things are valid, try one more thing. In your info.plist file set

FirebaseAppDelegateProxyEnabled = YES

This worked for me. Image

like image 64
Ashish Sharma Avatar answered Oct 17 '22 00:10

Ashish Sharma