In-App Chat

This page covers the APIs specific to in-app chats for Xamarin apps.

By default, a notification will be shown on top of your app's UI when a new message is received.

In-App Notifications

Conversation Sound

You can set whether new messages received will trigger a small sound notification or not.

//Not supported on iOS

new Instabug.Builder(this, "ANDROID_APP_TOKEN")

Disabling In-App Notifications

You can disable the in-app notifications using the following method.

Instabug.ReplyNotificationsEnabled = false;


Enabling and Disabling

Bug reporting, feedback, and chats can be enabled or disabled separately. When the user invokes the SDK with any of the invocation events, a popup appears showing all the enabled features. When only a single option is enabled, it becomes the default invocation mode and the popup doesn't appear. If all options are disabled, bug reporting becomes the default invocation mode.

IBGBugReporting.PromptOptions = IBGPromptOption.Bug | IBGPromptOption.Chat;

BugReporting.SetPromptOptionsEnabled(PromptOption.Bug, PromptOption.Chat);