in bare workflow its like this: android:roundIcon=“@mipmap/ic_launcher_round” and it works but when i try to achieve the same in managed workflow via adaptive icon its just doesnt work and displays incorrectly
Hi @yolk
If you have an adaptive icon specified in app.json
:
...
"android": {
"adaptiveIcon": {
"foregroundImage": "./assets/adaptive-icon.png",
"backgroundColor": "#FFFFFF"
}
},
...
then Expo will automatically add the android:roundIcon
attribute to the application
tag in AndroidManifest.xml
and also add the following files during the build process (actually, during “prebuild”):
android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.