How do I configure the Push Notification Service? | Aquro Help Center

The configuration of the push notification service can be completed in just a few steps - you'll need to:

This article will cover all of these steps.

Activating the push notification service in Aquro Platform

  1. Open up the app in Aquro App Studio
  2. Navigate to the Development pane
  3. Expand the Backend services node in the left treeview
  4. Click on the Push Notification Service node
  5. Click on the ACTIVATE button

Configuring push notifications for android devices

To use push notifications on android devices you will first need to get a Google Cloud Messaging account and API access to use Google Cloud Messaging.

  1. Go to https://developers.google.com/cloud-messaging/
  2. Sign in with your Google Credentials
  3. Click on TRY ON IT ON ANDROID
  4. Scroll down and click on GET A CONFIGURATION FILE
  5. Enter a App Name (the same name as your app)
  6. Enter a Android package name (this is the same as your app identifier, read more about app identifier here)
  7. Click on Choose and configure services
  8. Click on the Cloud messaging icon
  9. Click on ENABLE GOOGLE CLOUD MESSAGING
  10. Now your Server Key and your Sender ID will be shown. Please write them down for later use.

Once you have obtained a Server Key and a Sender ID, you may continue to configure the backend service to use these keys by following these steps:

  1. Open up the app in Aquro App Studio
  2. Navigate to the Development pane
  3. Expand the Backend services node in the left treeview
  4. Click on the Push Notification Service node
  5. Under SenderID enter the Sender ID you got from Google
  6. Under ServerKey enter the Server Key you got from Google
  7. Click on SAVE to save your changes

Configuring push notifications for iOS devices

To use push notifications on iOS devices you will need to have an Apple Developer Account and you will need to get a push notification certificate from apple to use to your app.

To get a push notification certificate from apple you first have to configure your app inside Apple's Developer Portal. If you haven't done that yet please read more about it here.

When you are ready follow these instructions:

First you need to generate a Certificate Request. Follow the instructions found here.

When you have generated the Certificate Request and saved the file to your computer you are now ready to generate the certificate in the Apple Developer Portal by following these steps:

  1. Goto https://developer.apple.com/
  2. Click on Member Center
  3. Sign in with your Apple credentials
  4. Click on Certificates, identifiers & profiles
  5. Click on iOS certificates
  6. Click on the Plus icon
  7. Choose the Apple Push Notification service SSL (Sandbox & Production) option and then click on Continue
  8. Select the App ID of your app and click Continue
  9. Click on Continue
  10. Click Choose file... and choose the Certificate Request file generated earlier
  11. Click on Generate
  12. Click on Download to download your certificate

When you have generated the certificate in Apple Developer Portal you now need to finalize the certificate and add it into the Aquro Platform. Follow the instructions found here.

When the certificate is added to the Aquro Platform, please make sure that the certificate is unlocked and ready to be used.

Now ,you may finally configure the Push Notification Service to use this certificate by following these steps:

  1. Open up the app in Aquro App Studio
  2. Navigate to the Development pane
  3. Expand the Backend services node in the left treeview
  4. Click on the Push Notification Service node
  5. Under IOS Development Certificate and IOS Productions Certificate select the certificate you have recently added.
  6. Click on SAVE to save your changes