Skip to content

Chat SDK iOS: Backendless Configuration

bensmiley edited this page Mar 24, 2017 · 3 revisions

The Chat SDK relies on Backendless for push notifications. Some configuration is required to get push notifications for your project.

Create a Backendless Developers Account

  • Go to the Backendless dashboard
  • Create a Backendless account or sign in
  • Create a new Backendless App
  • Click on your app's settings page
  • Copy the Application ID and the iOS Secret Key

Now you must configure your app with your Chat SDK project.

  • Open your projects Info.plist
  • Open chat_sdk -> backendless
  • Add your Application ID in the api_key field
  • Add your iOS Secret key in the app_secret field
  • Enter the version of your app in the app_version field

Note: The app version can be set on Backendless. The app version in your plist must match the appropriate app version set in Backendless

To hook up the push notifications, we recommend using the Backendless documentation as they are extremely detailed.

Note: The Chat SDK contains all the needed push notification code, no more code needs to be added from these tutorials.

Note: You must enter a password for your p12 certificate. If the password is left blank push notifications will not work.

It is worth being extremely careful with the push notification set up. If you miss any of the steps this could result in push notifications not being configured correctly.

Note: We have had some reports of push notifications being sent but not received after configuration. In all cases, if pushes were set up correctly, pushes started coming through once the app was uploaded to TestFlight or the AppStore.

Push notifications should not be set up in your project and can be sent to other users in private messages.

Note: Push notifications are disabled in the Chat SDK for public messages due to the high volumes which would be sent