thingsboard/flutter_thingsboard_pe_app

Not able to change the thingsboard Icon

Closed this issue · 5 comments

I tried changing the images in the assets. also the checksum but for some reason I still see the old icons. Can anyone help me out with this issue or has anyone managed to fix this yet

Did you build successfully? I can't build the app in both VS Code and Android Studio #59

Yes ! the build was successful the app is running as well. Check the version or your app. Is it compatible with your subscription.

Thanks a lot. I have solved the issue already. It is due to network issue.

I managed to change the icon. Here is what I did.

  1. Add different resolutions of custom_logo.png in \flutter_thingsboard_pe_app\android\app\src\main\res. You should put them in folders with the prefix of mipmap. I used this Flutter icon generator to prepare my icons.
    image

  2. Go to line 30 of file flutter_thingsboard_pe_app\android\app\src\main\AndroidManifest.xml. Change android:icon="@mipmap/launcher_icon"> to android:icon="@mipmap/custom_logo">.

    android:icon="@mipmap/launcher_icon">

I hope it helps.

Hey Thanks a lot man ! It worked