Just wondering if anyone been able to set adaptive icons on Cordova for Android Oreo? I\'m using the android 6.4.0 and my square icon shrinks to fit the circle. I just want
I may be late to the party, but I struggled to get this working because (a) using PhoneGap Build, and (b) doing things by hand, not using Android Studio. So, for those playing along at home, here's all I had to do to get adaptive icons working:
in my config.xml, I set:
ic_launcher.xml and ic_launcher_round.xml are identical, I just created this file at the source location and copied it in via the resource tags above. This is the contents of both of those XML files, reference as the src public/pwa/android/ic_launcher.xml and ic_launcher_round.xml:
Note I'm targeting phonegap ver 8.1.1 () The post at https://forums.adobe.com/thread/2576077 was helpful in illuminating the fact that you have to use different target paths on your cli version you are using.
Hope this helps, hit me with questions if I missed anything. Cheers!