App icon and splash screen PE (before v1.7)
Splash screen
Section titled “Splash screen”You cannot change the splash screen in pre-1.7.0 versions. It defaults to your app icon.
App icon
Section titled “App icon”The Flutter app comes with a default launcher icon. To replace it with your own:
-
Add the flutter_launcher_icons plugin.
Terminal window flutter pub add dev:flutter_launcher_icons -
Replace the default icon.
Replace
thingsboard.pngin theassets/imagesfolder with your custom icon. Use a 432×432 px image of your logo centered on the canvas. -
Run the generator.
Terminal window flutter pub run flutter_launcher_icons -
Update the notification icon (optional).
If you configured push notifications, update the notification icon too:
- Go to Android Asset Studio.
- Click Image and select your logo.
- Adjust padding if needed.
- Set the file name to
thingsboard. - Click the download button to get a
resfolder archive. - Paste the contents into
android/app/src/main, replacing files when prompted.