Push Notification Configuration

In order for User Hook to send push notifications to your users, you will need to properly configure your User Hook application through the Push Settings page in the User Hook admin site.

iOS Settings

In order to send push notifications through Appleā€™s Push Notification Service, first you must create the appropriate push certificates through the Apple Member Center. Once you have created your certificate, you will need to upload them to the User Hook servers using the Push Settings page for your User Hook application.

User Hook allows you to upload both a Sandbox and a Production APNS certificate. While developing your app locally, your app will register with the APNS Sandbox service and apps live in iTunes will connect to the APNS Production service.

Android Settings

To setup Android GCM Cloud Messaging, you will need to create a google-services.json file through the Google Developers website. When creating your google-services.json file, be sure to copy your Server API key. On the Push Settings page for your User Hook application, please enter your Server API Key under the Android Settings section.

Sending Test Messages

To test that your setup is complete, make sure that you have properly initialized the User Hook SDK (iOS / Android), and then run your application.

On the User Hook admin site, click on Push Campaign and then Create Push Campaign. If your mobile device properly registered with User Hook, the Estimated Reach number at the bottom of the form should reflect this. Enter information for a test Push Campaign and click Create Push Campaign. If everything is setup properly, your push notification should arrive within a few minutes.