2

I published an app on Google Play. Everywhere the logo is fine, but when I install app on physical device from Google Play, it does not show the full logo of my app. Weird behaviour, kind of like it zooms in, cuts off the edges. I suspect it's something to do with my app.json, I tried with a bunch of image sizes, maybe I am not trying correct ones.

"icon": "./192.png",
"android": {
  "adaptiveIcon": {
    "foregroundImage": "./Icon.png",
    "backgroundImage": "./BG.png"
},

This is the latest code I tried. 192.png is basically 192 x 192 image. Icon.png is the icon image by itself (not including the background of the icon). BG.png is the background color of the image.

How I expected it to show up once installed How it shows up once installed

I tried using 512 x 512 png image in the icon field as well, but that did not work either.

3
  • I don't experience this when using the icon field, but I'm not certain about adaptiveIcon Commented Mar 27, 2024 at 1:05
  • What do you do that works for your icons? Earlier I published another app, that app also had the same problem, even though not as bad as this one. Commented Mar 27, 2024 at 1:20
  • Just don't use the adaptiveIcon field. Use icon at the top level of the config. Commented Mar 27, 2024 at 20:49

2 Answers 2

0

you have to add the path from assets properly in app.json for icon,

like

"icon": "./assetsPath/example.png",
"android": {
  "adaptiveIcon": {
    "foregroundImage": "./assetsPath/example.png",
    "backgroundImage": "./assetsPath/example.png"
},

enter image description here

Sign up to request clarification or add additional context in comments.

1 Comment

I have the images in the root of the project. Where the App.js is, it isn't a path issue, since logo is showing up in the 1st place.
0

On android app icon zoom into center a little so Expo has a app icon and splash screen guide about it.You can fit your app into through this template it will be alright.

https://www.figma.com/community/file/1155362909441341285

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.