Newer Version Available
Send Test Push Notifications to GCM for Android
To run a quick test of your push notification setup for Google Cloud Messaging for
Android (GCM), use the Test Push Notifications
page.
| Available in: both Salesforce Classic (not available in all orgs) and Lightning Experience |
| Connected Apps can be created in: Group,
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 install and uninstall connected apps: | Customize Application AND either Modify All Data OR Manage Connected Apps |
| To install and uninstall packaged connected apps: | Customize Application AND either Modify All Data OR Manage Connected Apps AND Download AppExchange Packages |
- 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.
- For Payload, enter a JSON value that contains your message.
- To send the push notification to the GCM server only, select Dry Run.
- Click Send to send the test push notification, or click Clear to reset the form.