{"id":273495,"date":"2025-09-08T06:34:03","date_gmt":"2025-09-08T06:34:03","guid":{"rendered":"https:\/\/www.revechat.com\/?post_type=help-center&#038;p=273495"},"modified":"2026-05-11T10:08:57","modified_gmt":"2026-05-11T10:08:57","slug":"flutter-android-sdk","status":"publish","type":"help-center","link":"https:\/\/www.revechat.com\/help-center\/flutter-android-sdk\/","title":{"rendered":"Flutter Android SDK"},"content":{"rendered":"\n<p><\/p>\n\n\n\n<p>This documentation shows you how to embed REVE Chat Flutter Android SDK in an Android application and get started in a few minutes.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Getting Started with Flutter Android SDK<\/h2>\n\n\n\n<p>REVE Chat\u2019s Flutter Android SDK can be seamlessly integrated with your mobile apps and enable your team deliver in-app messaging to your app users for better engagement and customer support.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Introduction<\/h2>\n\n\n\n<p>This documentation shows you how to embed REVE <a href=\"https:\/\/www.revechat.com\/chat-api-sdk\/\">Chat Android SDK<\/a> in a Flutter based Android application and get started in a few minutes.<\/p>\n\n\n\n<p>Necessary or minimum requirements:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Android Studio<\/li>\n\n\n\n<li>Minimum SDK version should be 14 or above<\/li>\n\n\n\n<li>SDK version (Compile, Build, Target) should be 26 or above<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Flutter Android SDK integration process<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Step 1<\/h3>\n\n\n\n<p>To integrate Flutter Android SDK with your mobile app, please follow the below mentioned steps:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Add the Flutter Android SDK URL in your Project level build gradle file\u2019s repositories section as shown below:\n<ul class=\"wp-block-list\">\n<li>If android studio version less than Android Studio Arctic Fox<\/li>\n\n\n\n<li>In project build.gradle, you can add the repositories<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-prismatic-blocks\"><code class=\"language-\">allprojects {\n      repositories {\n      \u2026\n      maven { url &#039;https:\/\/jitpack.io&#039; }\n      maven { url &#039;https:\/\/maven.google.com\/&#039; }\n      maven {\n            url &quot;https:\/\/maven.iptelephony.revesoft.com\/artifactory\/libs-release-local\/&quot;\n        }\n      maven {\n          url &quot;https:\/\/jfrog-artifact.revechat.com\/artifactory\/artifactory\/&quot;\n      }\n   }\n}<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Otherwise, In settings.gradle, you can add the repositories<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-prismatic-blocks\"><code class=\"language-\">dependencyResolutionManagement {                   \n    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)\n    repositories {\n        \u2026\n \t  maven { url &#039;https:\/\/jitpack.io&#039; }\n        maven { url &#039;https:\/\/maven.google.com\/&#039; }\n        maven {\n            url &quot;https:\/\/maven.iptelephony.revesoft.com\/artifactory\/libs-release-local\/&quot;\n        }\n        maven {\n            url &quot;https:\/\/jfrog-artifact.revechat.com\/artifactory\/artifactory\/&quot;\n        }\n    }\n}<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Step 2<\/h3>\n\n\n\n<p>Add Design support library and REVE Chat Android SDK as dependency in your App level build.gradle file :<\/p>\n\n\n\n<pre class=\"wp-block-prismatic-blocks\"><code class=\"language-\">dependencies {\n    \u2026\n    implementation(&#039;com.revesoft.revechatsdk:revechatsdk:3.3.8&#039;)\n\n}<\/code><\/pre>\n\n\n\n<p><strong><em>Note<\/em><\/strong>: You can also use Design support library greater then 26 also according to your project build SDK version.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 3<\/h3>\n\n\n\n<p>Add <a href=\"http:\/\/proguard-rules.pro\/\" target=\"_blank\" rel=\"noopener\">proguard-rules.pro.<\/a> Path \u2192 \/android\/app\/proguard-rules.pro<\/p>\n\n\n\n<pre class=\"wp-block-prismatic-blocks\"><code class=\"language-\"># Add project specific ProGuard rules here.\n# By default, the flags in this file are appended to flags specified\n# in E:\\Android_Studio\\sdk\/tools\/proguard\/proguard-android.txt\n# You can edit the include path and order by changing the proguardFiles\n# directive in build.gradle.\n#\n# For more details, see\n#   http:\/\/developer.android.com\/guide\/developing\/tools\/proguard.html\n\n# Add any project specific keep options here:\n\n# If your project uses WebView with JS, uncomment the following\n# and specify the fully qualified class name to the JavaScript interface\n# class:\n#-keepclassmembers class fqcn.of.javascript.interface.for.webview {\n#   public *;\n#}\n-keep class com.revesoft.revechatsdk.** {*;}\n-keep interface com.revesoft.revechatsdk.** { *; }\n-keep enum com.revesoft.revechatsdk.** { *; }\n-dontwarn com.revesoft.revechatsdk.**\n\n-keep class org.webrtc.** { *; }\n-keep class org.webrtc.voiceengine.** { *; }\n-dontwarn org.webrtc.**<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Step 4<\/h3>\n\n\n\n<p>Add following lines from where you want to start the chat. However, this step needs to be done differently for JAVA or KOTLIN in separate ways. <strong><em>Code for JAVA<\/em><\/strong>&#8211;<\/p>\n\n\n\n<pre class=\"wp-block-prismatic-blocks\"><code class=\"language-\">\/\/Initializing with account id\nReveChat.init(&quot;account id&quot;);\n\n\n\/\/Creating visitor info\nVisitorInfo visitorInfo = new VisitorInfo.Builder()\n\t\t\t\t\t\t.name(&quot;your name&quot;)\n\t\t\t\t\t\t.email(&quot;your@email.com&quot;)\n\t\t\t\t\t\t.phoneNumber(&quot;your number&quot;)\n\t\t\t\t\t\t.build();\n \n\/\/Set visitor info\nReveChat.setVisitorInfo(visitorInfo);\n \nReveChat.setAppBundleName(BuildConfig.APPLICATION_ID);\nReveChat.setAppVersionNumber(BuildConfig.VERSION_NAME);\n\n ReveChat.setApiServiceTitle(&quot;REVEChatApiService&quot;)  \/\/ change as per your requirement\n ReveChat.setApiServiceContent(&quot;REVEChatApiService&quot;) \/\/ change as per your requirement\n \n\/\/starting chat window\nstartActivity(new Intent(this, ReveChatActivity.class));<\/code><\/pre>\n\n\n\n<p><strong><em>Code for KOTLIN<\/em><\/strong>&#8211;<\/p>\n\n\n\n<pre class=\"wp-block-prismatic-blocks\"><code class=\"language-\">\/\/Initializing with account id\nReveChat.init(&quot;account id&quot;)\n\n\/\/Creating visitor info\nval visitorInfo: VisitorInfo = VisitorInfo.Builder()\n                .name(&quot;your name&quot;)\n                .email(&quot;your@email.com&quot;)\n                .phoneNumber(&quot;your number&quot;)\n                .build()\n\n\/\/Set visitor info\nReveChat.setVisitorInfo(visitorInfo)\n\nReveChat.setAppBundleName(BuildConfig.APPLICATION_ID);\nReveChat.setAppVersionNumber(BuildConfig.VERSION_NAME);\n\n ReveChat.setApiServiceTitle(&quot;REVEChatApiService&quot;)  \/\/ change as per your requirement\n ReveChat.setApiServiceContent(&quot;REVEChatApiService&quot;) \/\/ change as per your requirement\n\n\/\/starting chat window\nstartActivity(Intent(this, ReveChatActivity::class.java))<\/code><\/pre>\n\n\n\n<p><strong>GitHub sample application Link<\/strong>: <a href=\"https:\/\/github.com\/revechatofficial\/flutter-sample-android-app\" target=\"_blank\" rel=\"noopener\">FlutterSampleApp<\/a><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This documentation shows you how to embed REVE Chat Flutter Android SDK in an Android application and get started in a few minutes. Getting Started with Flutter Android SDK REVE Chat\u2019s Flutter Android SDK can be seamlessly integrated with your mobile apps and enable your team deliver in-app messaging to your app users for better [&hellip;]<\/p>\n","protected":false},"author":36,"featured_media":0,"menu_order":0,"template":"","meta":{"_acf_changed":false,"footnotes":""},"help_center_type":[1868],"class_list":["post-273495","help-center","type-help-center","status-publish","hentry","help_center_type-mobile-sdk"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.revechat.com\/wp-json\/wp\/v2\/help-center\/273495","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.revechat.com\/wp-json\/wp\/v2\/help-center"}],"about":[{"href":"https:\/\/www.revechat.com\/wp-json\/wp\/v2\/types\/help-center"}],"author":[{"embeddable":true,"href":"https:\/\/www.revechat.com\/wp-json\/wp\/v2\/users\/36"}],"version-history":[{"count":3,"href":"https:\/\/www.revechat.com\/wp-json\/wp\/v2\/help-center\/273495\/revisions"}],"predecessor-version":[{"id":303572,"href":"https:\/\/www.revechat.com\/wp-json\/wp\/v2\/help-center\/273495\/revisions\/303572"}],"wp:attachment":[{"href":"https:\/\/www.revechat.com\/wp-json\/wp\/v2\/media?parent=273495"}],"wp:term":[{"taxonomy":"help_center_type","embeddable":true,"href":"https:\/\/www.revechat.com\/wp-json\/wp\/v2\/help_center_type?post=273495"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}