Closed sergiyvergun closed 10 months ago
Can you share your project link?
Can you share your project link?
I can't as it's not open source. I've provided the code here. If you want, we can schedule a call and I'll show you the project.
Can you share your project link?
I can't as it's not open source. I've provided the code here. If you want, we can schedule a call and I'll show you the project.
I am the same. Have you found the solution?
Sorry you guys for my late reply, it's been a while since the last time i took a look on this plugin.
Please try to add one more activity-alias like below to check if the problem's gone @tientt1304 @sergiyvergun :
<activity-alias
android:label="Your app name"
android:icon="@mipmap/ic_launcher"
android:name=".default"
android:enabled="false"
android:targetActivity=".MainActivity">
<meta-data
android:name="io.flutter.embedding.android.NormalTheme"
android:resource="@style/NormalTheme"
/>
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity-alias>
And one more thing to check is if do you add the item "MainActivity" to your icon array list like document did mention?
const List
The latest docs is not on pub.dev right now, please read it here: https://github.com/chuanpham/dynamic_icon_flutter/blob/main/README.md
Every time I'm changing the icon on Android - it creates a new app with selected icon.
AndroidManifest.xml:
Changing icon in app:
How to fix this?