Testing Push Notifications
Test the Push and Settings plugins, and troubleshoot any push notification issues.
Prerequisites
Context
Procedure
Troubleshooting Push Notifications
To troubleshoot push notifications:
- Check whether the device is registered with the SAP Mobile Platform Server successfully (from the cockpit).
- For Android, check whether the Kapsel project includes gcm.jar.
- Check whether the device is registered for push with the provider (Google or Apple) successfully, then use the REST client to check if a token has been obtained and exchanged with the SAP Mobile Platform Server.
- Check whether the proxy settings on the server are correctly set, as SAP Mobile Platform needs an Internet connection to the GCM/APNS server.
- Check whether the Notification security provider is correctly set, whose Roles must contain “Notification User”.
- Send a test notification using the REST client. A return code of 201 indicates that SAP Mobile Platform and GCM or APNS has no problem.