react-native-voximplant
react-native-voximplant copied to clipboard
Messaging: push notification
Hello!
Are there any examples of how to use push notifications for the messaging functional?
Hello!
To use messaging push notifications, it is required to:
- 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
- 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. - 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
Hi @YuliaGrigorieva,
I am using Voximplant's messaging with React Native. Is there any guide for notifications on Android and iOS?
Great service BTW!
@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