Setting Push notification to your mobile app

Mobile push is an essential notification channel for any mobile centric solution that requires its end devices to be ‘always reachable’.

This are the steps to enable your solution supporting mobile push:

  • Step 1 – provision your project in the APIM at Projects->Mobile Push. Based on your account details in Apple developer APNs and Google Android FCM Android you will need to configure you APIM project mobile push details – mainly the app bundle ID and the relevant keys

  • Step 2 – provision your device tokens using the SDK API for push notification channel.
    o For iOS – Set the VoiP and/or Standard tokens to the CPConfig, Call Subscribe API from CPPushService.
    o For Android – Call Subscribe API from the PushManager class – The FCM device token is an input of this API.

  • Step 3 – Receive the push by the app and inject the push data to the SDK
    o Make sure to connect the SDK first.
    o Once connected, inject the push data.
    o SDK will process the data and trigger the relevant callback (e.g. incoming call, incoming SMS, etc…).

For more info, please look at:
iOS - https://apimarket.att.com/developer/quickstarts/ios/push-notifications
Android - https://apimarket.att.com/developer/quickstarts/android/push-notifications

3 Likes