Managing Notifications
Detailed in this page is how you can manage in-app notifications for new in-app chat messages for your React Native apps.
Push Notifications
Replies.setPushNotificationRegistrationTokenAndroid('TOKEN');Replies.showNotificationAndroid(data);Replies.setPushNotificationChannelIdAndroid('CHANNEL_ID');Replies.setNotificationIconAndroid(ICON);// Enable
Replies.setPushNotificationsEnabled(true);
// Disable
Replies.setPushNotificationsEnabled(false);In-App Notifications
Disabling In-App Notifications
Replies.setInAppNotificationsEnabled(false);In-App Notification Sound
Replies.setInAppNotificationSound(false);Get Unread Messages Count
const unreadRepliesCount = await Replies.getUnreadRepliesCount();Last updated