I have set my app images in the following formats for android but on android devices but i see the image in the icon very disproportionate, I have also followed the measures outsystems recommends in the documentation.
Thank you for waiting. I installed it, see the result
[Image deleted by moderator]
see my extensibility configuration:
{
"resource": "icons.zip",
"icons": {
"android": [{
"resource": "/icons/android/mipmap-ldpi/ic_launcher2.png",
"density": "ldpi"
},
"resource": "/icons/android/mipmap-mdpi/ic_launcher.png",
"density": "mdpi"
"resource": "/icons/android/mipmap-hdpi/ic_launcher.png",
"density": "hdpi"
"resource": "/icons/android/mipmap-xhdpi/ic_launcher.png",
"density": "xhdpi"
"resource": "/icons/android/mipmap-xxhdpi/ic_launcher.png",
"density": "xxhdpi"
"resource": "/icons/android/mipmap-xxxhdpi/ic_launcher.png",
"density": "xxxhdpi"
}]
}
You can test by downloading the app from the link below:
https://pedrocosta-sys.outsystemscloud.com/NativeAppBuilder/App?AppKey=da49ab16-32c6-48e0-bfbd-89728ef29a3d
Hi Gaetano,
What did you use to generate your icons?
I remember using some generators and the result was not what I expected, so I used Ionic Resources and it worked fine.
https://ionicframework.com/docs/cli/commands/cordova-resources
Regards,
Pedro Costa
Hi Pedro Costa, i have generated the icon app with Ionis,but i have always this problem:
One question before continuing, did you regenerate your app, delete the version installed on the device and install the new version?
yes but does not change anything.
Have you tried installing on another device, with different resolution to see if it's an isolated problem?
Does your icon follow the specifications recommended by Google?
https://developer.android.com/distribute/google-play/resources/icon-design-specifications
I generated them with android studio, but you always see the icon badly even if I put in multiple formats for single density
You can share the entire contents of the extensibity configuration and an image showing the folder structure of your imported zip file to the resources
Example:
If possible, could you send the zip file so I can try to reproduce it?
@Pedro Costa thanks for your help, this is the file:
@Pedro Costa i have implemented your version in this way, but it still gives me the same bug on android.
It seems as if it always generates the app with the old icons.
Hi Gaetano, how are you?
What is the name of the zip that you attached to service studio?
is it "resource.zip" or "icons.zip" ?
Did you install the sample app I made? Is the icon correct?