Allow clearing attributes by passing "".
project.xml can't pass `null`, so this seems like the next best thing.
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
::foreach ANDROID_PERMISSIONS::<uses-permission android:name="::__current__::" />
|
::foreach ANDROID_PERMISSIONS::<uses-permission android:name="::__current__::" />
|
||||||
::end::
|
::end::
|
||||||
|
|
||||||
<application ::foreach ANDROID_APPLICATION::::if (value)::::key::="::value::" ::end::::end::>
|
<application ::foreach ANDROID_APPLICATION::::if ((value != null) && (value != ""))::::key::="::value::" ::end::::end::>
|
||||||
|
|
||||||
::if (WIN_ORIENTATION=="portrait")::
|
::if (WIN_ORIENTATION=="portrait")::
|
||||||
<meta-data android:name="SDL_ENV.SDL_IOS_ORIENTATIONS" android:value= "Portrait PortraitUpsideDown" />
|
<meta-data android:name="SDL_ENV.SDL_IOS_ORIENTATIONS" android:value= "Portrait PortraitUpsideDown" />
|
||||||
@@ -17,7 +17,7 @@
|
|||||||
<meta-data android:name="SDL_ENV.SDL_IOS_ORIENTATIONS" android:value= "LandscapeLeft LandscapeRight" />
|
<meta-data android:name="SDL_ENV.SDL_IOS_ORIENTATIONS" android:value= "LandscapeLeft LandscapeRight" />
|
||||||
::end::
|
::end::
|
||||||
|
|
||||||
<activity ::foreach ANDROID_ACTIVITY::::if (value)::::key::="::value::" ::end::::end::>
|
<activity ::foreach ANDROID_ACTIVITY::::if ((value != null) && (value != ""))::::key::="::value::" ::end::::end::>
|
||||||
|
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user