Nickleby
Nickleby

Reputation: 103

Recent apps icon in React-native

I changed the default app icon and it appears fine in the app drawer, but on Android 8.0's recent apps the icon is still the default one.

Also when I try to uninstall the app, the Alert windows that opens contains the dafault react-native icon.

I tried looking on other posts and found this comment, but I already set those and even created a mipmap-ldpi (36x36) icon, but it still remains the same.

How can I change these icons?

I'm using React-native 0.59.1

Android 8.0' recent apps screen

Upvotes: 3

Views: 2048

Answers (1)

abhinandan sharma
abhinandan sharma

Reputation: 883

For Android 8.0 and Above Adaptive Launcher Icon are used and for Versions below Android 8.0 we use Legacy Launcher Icon

You can try try to update icons using Image Asset Studio -

To start Image Asset Studio, select Android in the Project Window. Right click on the res folder and select New > Image Asset. You have now opened Image Asset Studio. You can now create an Adaptive Launcher Icon or Legacy Only Launcher Icon as per your requirement by selecting Icon Type.

You can refer to this link for more information.
Hope it works !

Upvotes: 3

Related Questions