How to configure Push Notifications

Hi,

I’m trying to try out Push Notifications on the iOS client but am getting an Undefined Error popup after I try sending a message.

Here’s some things I’d like to confirm:

  1. Is there any document available that covers what needs to be configured in the Dashboard / App Settings / Mobile Settings / iOS Push Notification Certificate and Google API key?

  2. Before the Undefined Error I was getting “Android API key is null” - or something to that accord - which led me to find the Dashboard settings. I’ve done some work with GCM before and plugged in my GCM sender key here (aka the Project ID in the Google Developer Console). This is the right number to be using right?

  3. For the iOS .p12 certificate, is it right to upload an exported copy of my iOS Developer public/private key from Keychain Access with a password set? I’m using a provisioning profile that I created with Push Notifications enabled.

Regards,
Simon.

Hi,

Thanks Mark. I’ll have a look over this.

Do you also have a similar blog post for configuring Android / GCM? If not could I also please get an answer to question 2)?

Regards,
Simon.

Hi Simon,

For Android it is much simpler. On the project configuration side, make sure to follow the instructions from (see the Push Notification section at the bottom of the page):
http://backendless.com/documentation/messaging/android/messaging_requirements.htm

As for the value in Backendless Console (Google API Key), you need to login to Google Developers Console, select your project and click “Credentials” under the “API and Auth” section. Then use the “API key for server applications”. See attached screenshot.

Regards,
Mark

Hi Simon,

Here’s a detailed step-by-step guide for configuring your backend and application for push notifications:
https://backendless.com/ios-push-notifications-with-backendless/

Regards,
Mark