CleverPush Developer Docs

CleverPush Developer Docs

  • SDK Docs
  • API Overview
  • API Reference

›Android SDK

JavaScript SDK

  • Setup
  • Methods

iOS SDK

  • Setup
  • Methods
  • Inbox View
  • Chat
  • Stories
  • Deep Links
  • Live Activities
  • Troubleshooting
  • Changelog

Android SDK

  • Setup
  • Methods
  • Notification Service Extension
  • Inbox View
  • Chat
  • Stories
  • Deep Links
  • Troubleshooting
  • Upgrading
  • Geo Fence Location Permission
  • Changelog

Capacitor SDK

  • Setup
  • Methods
  • Changelog

Cordova SDK

  • Setup
  • Methods
  • Changelog

React Native SDK

  • Setup
  • Methods
  • Changelog

Xamarin SDK

  • Setup
  • Methods
  • Changelog

Flutter SDK

  • Setup
  • Methods
  • Chat
  • Troubleshooting
  • Changelog

Chat

CleverPush Chat View

Add the ChatView inside your Layout XML:

<com.cleverpush.chat.ChatView
  android:id="@+id/chatView"
  android:layout_height="match_parent"
  android:layout_width="match_parent"
  />

Handle opened URLs:

Java
Kotlin
CleverPush.getInstance(this).setChatUrlOpenedListener(url -> {
// do something with the opened URL
});
CleverPush.getInstance(this).setChatUrlOpenedListener { url ->
// do something with the opened URL
}

Customizations

Chat theme colors can be modified:

Java
ChatView chatView = findViewById(R.id.chatView);

chatView.setChatBackgroundColor("#F4F6F6");
chatView.setChatSenderBubbleBackgroundColor("#05504F");
chatView.setChatSenderBubbleTextColor("#FFFFFF");
chatView.setChatReceiverBubbleBackgroundColor("#117864");
chatView.setChatReceiverBubbleTextColor("#FFFFFF");
chatView.setChatTimestampTextColor("#000000");
chatView.setChatSendButtonBackgroundColor("#95A5A6");
chatView.setChatInputTextColor("#05504F");
chatView.setChatInputBackgroundColor("#EAEDED");
chatView.setChatInputContainerBackgroundColor("#F4F6F6");

chatView.loadChat();
← Inbox ViewStories →
  • CleverPush Chat View
    • Customizations
SDKs
JavaScriptiOSAndroidCordovaCapacitorReact NativeXamarinFlutter
Community
TwitterFacebookGitHub
More
API ReferenceAPI OverviewBlogImprintPrivacy PolicyTerms of serviceGDPR
Copyright © 2025 CleverPush