Skip to main content
I have created a connected app with Push Messaging enabled and adding all Token authentication settings details like Key Identifier, team identifier related to IOS. With these settings, it allows me to send notification to mobile device using Test Push Notifications page in salesforce without any issue. But in Test Push Notifications page, i am adding device token for testing notifications. When i click on search tool for Recipeient field, I do not see any user.

  

When I am testing the push notification using Apex Trigger using  Messaging.PushNotification API, the notifications are not received in IOS app. Receiving in the debug log event as PUSH_NOTIFICATION_NO_DEVICES

Followed all steps related to push notification on this url:( https://developer.salesforce.com/docs/atlas.en-us.pushImplGuide.meta/pushImplGuide/pns_overview.htm).

Also from IOS app, when user is registering to Salesforce, its giving error as below. Is the user registration not happening in correct way from external IOS app

  • [SalesforceSDKCore] CLASS: SFPushNotificationManager Registration for notifications with Salesforce failed with error Error Domain=com.salesforce.RestAPI.ErrorDomain Code=404 "(null)" UserInfo={error=(

            {

            errorCode = "NOT_FOUND";

            message = "The requested resource does not exist";

        }

    )}

Has anyone able to succed in pushing notification to IOS app from Apex Trigger/class? Is there any other way to push notification to IOS app from salesforce ?
1 answer
0/9000