Skip to main content
I created a connected app with Push Messaging enabled and the "Android GCM" option selected for the Supported Push Platform. For the api key, I am using the legacy key of my Firebase Cloud Messaging (FCM) project. This allows me to send notifications to my android app from the Test Push Notifications page in Salesforce without issue.

 

I have configured my FCM project to also support my IOS app. In IOS, I am able to sign in with my connected app and register for push notifications successfully using my FCMToken (I did have to change the "ServiceType" parameter that the mobile sdk sends when registering, though).

 

Now on the Test Push Notifications page, my IOS logins show up in the Recipients lookup and when I send the test notification I get a "Success" message. The phone, however, never receives the notification.

 

I was able to successfully send a notification to the IOS phone from the Firebase console as well as the Firebase rest api, so the problem seems to be somewhere between Salesforce and Firebase.

 

Has anyone been able to accomplish what I'm trying to accomplish? Does anybody have any ideas as to why I'm not getting the notification on the phone?
7 个回答
  1. 2018年8月6日 12:50
    Thanks for the response, Sid.  Yes, sending notifications directly through the firebase api would probably work.  It is unfortunate, however, that there doesn't seem to be a way to utilize the built-in Salesforce functionality. 
0/9000