I'm trying to implement the android adaptive icons for our mobile app using these guidelines (https://developer.android.com/guide/practices/ui_guidelines/icon_design_adaptive)
When I try to add the xml file to this folder "res/mipmap-anydpi-v26/ic_launcher.xml" I get the following Message
Invalid Resource
Resource 'ic_launcher.xml' cannot be deployed to a parent folder. Change the 'Target Directory' property of this resource to fix this.
Does anyone have an idea how I can add the resources to the correct folder.
Kind regards
Joris
Hi Joris,
Please check this documentation link about mobile app icons.https://success.outsystems.com/Documentation/11/Delivering_Mobile_Apps/Customize_Your_Mobile_App/Modify_the_App_Icon
If you still need help let us know!
Cheers
David
Hi David,
We already implemented the icons following the documentation. But we need to use the Android Adaptive icons because on some devices our icon isn't correct formated.
Did you take a look at the Adaptive icon documentation? Do you have an idea how i can implement them?
Hey Joris,
Ok now I understand your initial problem. I could be wrong but I believe it's not yet possible to define Android Adaptive Icons using only OutSystems.
I would develop a cordova plugin that copies the icons in a Resources folder to the correct Android build path and that changes the manifest accordingly.
Any update on this?
Anyone found a solution for this?
Currently, adaptive icons are not supported by default in OutSystems for Android applications. This limitation can lead to issues during the build process, especially when referencing resources like ic_launcher_background or ic_launcher_foreground.
To address this, we can create a custom Cordova plugin that modifies the Android Manifest and injects the required adaptive icon configuration. This plugin can then be integrated into the OutSystems application as a dependency.
Your plugin.xml should include entries similar to the attached to ensure proper resource linking