Send Test Push Notifications to APNS
To run a quick test of your push notification setup for Apple Push Notification Service
(APNS), use the Send Test Notification page.
Available in: both Salesforce Classic (not available in all orgs) and Lightning Experience |
Connected Apps can be created in: Group, Essentials,
Professional, Enterprise, Performance, Unlimited, and
Developer Editions Connected Apps can be installed in: All editions |
User Permissions Needed | |
---|---|
To read, create, update, or delete connected apps: | Customize Application AND either Modify All Data OR Manage Connected Apps |
To update all fields except Profiles, Permission Sets, and Service Provider SAML Attributes: | Customize Application AND either Modify All Data OR Manage Connected Apps |
To update Profiles, Permission Sets, and Service Provider SAML Attributes: | Customize Application AND Modify All Data AND Manage Profiles and Permission Sets |
To rotate the consumer key and consumer secret: | Allow consumer key and secret rotation |
To install and uninstall connected apps: | Customize Application AND either Modify All Data OR Manage Connected Apps |
To install and uninstall packaged connected apps: | Download AppExchange Packages AND Customize Application AND either Modify All Data OR Manage Connected Apps |
- In Setup, enter Apps in the Quick Find box, then select Apps.
- Click the name of your connected app.
- Click Send test notification next to Supported Push Platform. This link appears only if you’ve configured your connected app to support mobile push notifications.
-
Enter a connection token string in the Recipient field, OR
search for a recipient by clicking Search
, and then select one of the search results. By default, the Search results list displays the five devices most recently registered for your connected app.
- To find other devices, enter a user name in the Search text box.
- Click Go to generate a list of all devices currently registered under that user name.
- Optionally, for Alert, enter an alert message or dictionary per Apple’s specifications.
- For Badge, enter a badge number or 0 for no badge.
- For Sound, enter the name of a sound file in the application bundle, or enter default to use the system default alert sound.
- Optionally, to use a custom payload, enter your payload’s JSON value in the Custom Payload field.
- Click Send to send the test push notification, or click Clear to reset the form.