react-native-change-icon: Duplicate app in first change icon app
Platform
- Android
Description In android, i used code like code in project example Firstly i change icon app, i see my app is duplicated ,one with old icon and one with new icon When update icon one more, there will be only an app.
To Reproduce Steps to reproduce the behavior: 1.Build app and change icon app first 2.back to main screen. and there will be 2 app appear.
Expected behavior there will be always only an app in my devices.
Screenshots

Versions
- react-native: [0.64.0]
- react-native-change-icon: [3.1.1]
Code Snippet
<activity android:name=".MainActivity"
android:label="@string/app_name"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
android:launchMode="singleTask"
android:windowSoftInputMode="adjustResize">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 2
- Comments: 19 (3 by maintainers)
Your first activity-alias on MainActivitystandard must be enabled false, all activity-alias must be, enabled false. The props android:icon=“@mipmap/colorful” android:roundIcon=“@mipmap/colorful_round” Need be too in the <activity main.
still meet it, i do not use react-native-bootsplash or any library for splash screen. 😦
Sadly still getting duplicated icons error, using the example app. Icons get duplicated multiple times. Version 4.0.0
I did that too, but still have the double icons. I know you’re trying your best don’t worry 🙂 We’re following the same steps I tried before, it’s cool to know that I had the same reasoning as you’re having to troubleshoot this issue at least…
EDIT: I noticed though, that one of the two apps, the initial one, doesn’t re-open the app when tapped again. It looks like that the initial activity gets actually disabled, but the icon stays there.