Skip to content
Stand with Ukraine flag

Build and release ThingsBoard Mobile Application

Build and release the ThingsBoard PE mobile app version 1.7.x for iOS and Android.

This guide assumes you have already created an app bundle in the Mobile Center and downloaded the generated configs.json file.

If you need to change any settings, update them in the Mobile Center, re-download configs.json, and replace the file in your project.

Follow the official Build and release an iOS app guide to prepare your app for the App Store and TestFlight.

Terminal window
flutter build ipa --no-tree-shake-icons --dart-define-from-file configs.json

Follow the official Build and release an Android app guide to prepare your app for Google Play.

Terminal window
flutter build appbundle --no-tree-shake-icons --dart-define-from-file configs.json

--no-tree-shake-icons — prevents Flutter from removing unused icons during the build. This ensures the app can display any icon configured in the notification center.

--dart-define-from-file configs.json — loads the mobile app configuration from the JSON file downloaded from the Mobile Center, so the app uses the correct settings for production.