Gladly is a singleton instance which exposes an API which will allow an app to embed Gladly chat and configure it’s behaviour.
The Gladly SDK version.
Clear all gladly chat push notifications. Useful when re-entering your application and it makes sense to clear all push notifications.
Clear all unread messages. This resets the unread messsages count.
Destroys the Gladly instance and frees up any memory it allocated. In order to use Gladly again, you must call initialize().
Get the unread messages count.
Handle an incoming remote message.
Initializes Gladly, this must be called before any other function is called. This should be called in your application’s
Removes the currently signed in user and all data associated with that user.
Opens the notification channel settings. Note that this will only occur for Android O+ (because Channels don’t exist below Android O!).
Register deviceToken that will be used to send push notifications.
Set Push Notification customizations. See NotificationConfig for more details.
Sets the current user that will be logged in when communicating with Gladly. If this is set the user does not have to provide email and name.
Starts the Gladly Chat Activity with configured settings.
Unregister the currently saved deviceToken used for push notifications.