Skip to main content

Custom release guide for mobile app

Deep linking#

Android#

Open AndroidManifest.xml file under android/app/src/main/ folder.

Replace android:host with your installation url

Ex:

<data android:scheme="https" android:host="app.chatwoot.com" />

In order to test deep linking in local machine run following command in terminal.

adb shell am start -W -a android.intent.action.VIEW -d "https://{INSTALLATION_URL}/app/accounts/{ACCOUNT_ID}/conversations/{CONVERSATION_URL} {APP_PACKAGE_NAME}

Ex:

adb shell am start -W -a android.intent.action.VIEW -d "https://app.chatwoot.com/app/accounts/47/conversations/11โ€ com.chatwoot.app

iOS#

Set IOS_APP_ID in chatwoot server

Open Chatwoot.entitlements file under ios/ folder.

Replace *.chatwoot.com with your installation url

Deployment#

Detailed guide for Publishing a React Native App to the App Store

Android#

In order to distribute your Android application via Google Play store it needs to be signed with a release key that then needs to be used for all future updates. More details can be found here

Update gradle.properties file under android/app folder with following contents

android.useAndroidX=trueandroid.enableJetifier=trueFLIPPER_VERSION=0.33.1org.gradle.jvmargs=-Xmx4608mRELEASE_STORE_FILE=<RELEASE_STORE_FILE>RELEASE_KEY_ALIAS=<RELEASE_KEY_ALIAS>RELEASE_STORE_PASSWORD=<RELEASE_STORE_PASSWORD>RELEASE_KEY_PASSWORD=<RELEASE_KEY_PASSWORD>

For releasing the android follow the guide

  • Important - We are using Fastlane for deploying chatwoot official mobile app.