react-native-voximplant icon indicating copy to clipboard operation
react-native-voximplant copied to clipboard

Messaging: push notification

Open ruscoder opened this issue 6 years ago • 3 comments

Hello!

Are there any examples of how to use push notifications for the messaging functional?

ruscoder avatar Jan 31 '19 12:01 ruscoder

Hello!

To use messaging push notifications, it is required to:

  1. generate and add push certificates to the Voximplant Control Panel. Please check the following tutorials for android and iOS:
    • android: https://voximplant.com/docs/references/androidsdk/push-notifications-for-android
    • iOS: https://voximplant.com/docs/references/iossdk/push-notifications-for-ios
  2. provide push notification token to the Voximplant React Native SDK via Client.registerPushNotificationsToken API. Currently in works only for android, since android push token is the same for VoIP and IM push messages, however for iOS they are different. I will update the messaging branch to allow specifying im push token.
  3. using Messenger.managePushNotifications API subscribe the user for push notifications of required types (send message / edit message).

Unfortunately, we currently don't have any examples for this, but we definitely will create the examples after messaging support for React Native will be released.

Best regards, Yulia Grigorieva

YuliaGrigorieva avatar Feb 01 '19 13:02 YuliaGrigorieva

Hi @YuliaGrigorieva,

I am using Voximplant's messaging with React Native. Is there any guide for notifications on Android and iOS?

Great service BTW!

jagjotsinghparry avatar Sep 14 '20 12:09 jagjotsinghparry

@YuliaGrigorieva any update on this? not sure how to proceed after adding the cert in dashboard. i'm using onesignal for my app's notification

anniewey avatar Dec 17 '21 04:12 anniewey