By default, a notification will be shown on top of your app's UI when a new message is received.
When your app users receive an in-app notification through Instabug, sound is enabled by default. However, you can disable it by using the following method.
//iOS //Not support on iOS //Android Replies.setInAppNotificationSound(false);
You can set whether new messages received will trigger a small sound notification or not.
//iOS //Not supported on iOS //Android new Instabug.Builder(this, "ANDROID_APP_TOKEN") .SetInvocationEvent(InstabugInvocationEvent.Shake) .SetShouldPlayConversationSounds(true) .Build();
You can disable the in-app notifications using the following method.
//iOS Replies.InAppNotificationsEnabled = false; //Android Replies.SetInAppNotificationEnabled(false);
You can use the following method to get the number of messages a user has yet to read.
//iOS Replies.UnreadRepliesCount; //Android Replies.getUnreadRepliesCount();
Updated almost 3 years ago