Closed ghost closed 7 years ago
Sorry for the delay. Going to check lime/openfl documentation.
The iOS part:
<config:ios prerendered-icon="false" />
Regarding to different icons, don't see any options for that.
So for implementing the prerender part: https://github.com/jtransc/gdx-backend-jtransc/blob/master/gdx-backend-jtransc/resources/program.xml#L30
With jtransc you can use extra:
In gradle:
jtransc {
param("prerenderedIcon", "true")
}
In the program.xml file template:
{% if extra.prerenderedIcon %}
<config:ios prerendered-icon="false" />
{% endif %}
That way it is configurable.
Thanks for information, i will try now
And for the icon maybe we can do something like (if it doesn't we can add the variable target
to jtransc; also not sure if I implemented elseif, but I can implement it too or just use if else chains):
{% if target == 'android' && extra.androidIcon %}
<icon path="{{ extra.androidIcon }}" />
{% elseif target == 'ios' && extra.iosIcon %}
<icon path="{{ extra.iosIcon }}" />
{% elseif hasIcon %}
<icon path="{{ settings.icon }}" />
{% end %}
And in gradle:
param("androidIcon", "...")
param("iosIcon", "...")
confirmed fixed
How provide different icons for different targets? Also how override default multiply icons for iOS/Android?