Copy link to clipboard
Copied
AIR 2.6, tested on iPod 3rd gen, OS version 4.3.2.
I followed the steps from: http://help.adobe.com/en_US/air/build/WSfffb011ac560372f-5d0f4f25128cc 9cd0cb-7ffe.html#WS901d38e593cd1bac1dc3127e12e25ae562d-8000
My application descriptor file has the following lines in iPhone section:
<iPhone>
<InfoAdditions>
<![CDATA[<key>UIDeviceFamily</key><array><string>1</string></array>]] >
<![CDATA[<key>UIApplicationExitsOnSuspend</key><string>YES</string>]] >
</InfoAdditions>
</iPhone>
but it still only pauses my app.
Am I missing anything? Any help much appreciated.
I think that the <string>YES</string> was changed for boolean keys so instead you'd just use <true/> or <false/>.
Copy link to clipboard
Copied
Having two CDATA tags seems wrong. If you make it this:
<iPhone>
<InfoAdditions>
<![CDATA[<key>UIDeviceFamily</key><array><string>1</string></array><key>UIApplicationExitsOnSuspend</key><string>YES</string>]] >
</InfoAdditions>
</iPhone>
Does it do any better?
Copy link to clipboard
Copied
Even if both keys are in one CDATA it still does't quit but pauses... I tried to put <string>YES</string> in <array> like preceding element but then adt reported error. When the same app was published with iPhone Packager it was quitting not pausing by default.
Copy link to clipboard
Copied
I think that the <string>YES</string> was changed for boolean keys so instead you'd just use <true/> or <false/>.
Copy link to clipboard
Copied
Thanks Mistersuits, that works!
Would be great if Adobe could update the documentation.
So here is how my settings look like now:
<iPhone>
<InfoAdditions>
<![CDATA[<key>UIDeviceFamily</key><array><string>1</string></array><key>UIApplicationExitsOnSuspend</key><true/> ]]>
</InfoAdditions>
</iPhone>