I'm using TItanium SDK 3.1.3 and my project is made in Alloy 1.0, the problem I'm experiencing has been reported in the past but even when I try to use the recommended fixes for it, it just won't work.
I've seen this, this and this tickets, so far both solutions, using the property
<property name="ti.android.root.reappears.restart" type="bool">true</property>and the property
android:alwaysRetainTaskState="true"on my tiapp.xml doesn't seem to work at all.
This is my tiapp.xml:
<?xml version="1.0" encoding="UTF-8"?> <ti:app xmlns:ti="http://ti.appcelerator.org"> <id>com.nenvo.inTeamAlloy</id> <name>inTeamAlloy</name> <version>1.0</version> <publisher></publisher> <url>http://nenvo.com</url> <description>not specified</description> <copyright></copyright> <icon>appicon.png</icon> <persistent-wifi>false</persistent-wifi> <prerendered-icon>false</prerendered-icon> <statusbar-style>default</statusbar-style> <statusbar-hidden>false</statusbar-hidden> <fullscreen>false</fullscreen> <navbar-hidden>true</navbar-hidden> <analytics>true</analytics> <guid>c0d02147-bb42-4e9c-b29d-8c4686269836</guid> <property name="ti.ui.defaultunit" type="string">system</property> <property name="ti.android.threadstacksize" type="int">81920</property> <property name="ti.android.bug2373.finishfalseroot" type="bool">true</property> <!-- <property name="ti.android.root.reappears.restart" type="bool">true</property> --> <property name="ti.android.root.reappears.restart" type="bool">true</property> <iphone> <orientations device="iphone"> <orientation>Ti.UI.PORTRAIT</orientation> </orientations> <orientations device="ipad"> <orientation>Ti.UI.PORTRAIT</orientation> <orientation>Ti.UI.UPSIDE_PORTRAIT</orientation> <orientation>Ti.UI.LANDSCAPE_LEFT</orientation> <orientation>Ti.UI.LANDSCAPE_RIGHT</orientation> </orientations> </iphone> <android xmlns:android="http://schemas.android.com/apk/res/android"> <tool-api-level>17</tool-api-level> <manifest android:installLocation="auto" > <uses-sdk android:minSdkVersion="10" android:targetSdkVersion="17"/> <application android:largeHeap="true" android:hardwareAccelerated="true" android:theme="@style/Theme.MyTheme"> <!-- TI_APPLICATION --> <activity android:name=".InteamalloyActivity" android:screenOrientation="portrait" android:alwaysRetainTaskState="true" android:label="inTeamAlloy" android:theme="@style/Theme.Titanium" android:configChanges="keyboardHidden"><!-- android:theme="@style/Theme.Titanium" --> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> <activity android:name="ti.modules.titanium.media.TiCameraActivity" android:screenOrientation="portrait" android:configChanges="keyboardHidden" android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen" /> <activity android:name="org.appcelerator.titanium.TiActivity" android:screenOrientation="portrait" android:configChanges="keyboardHidden" /> <activity android:name="org.appcelerator.titanium.TiTranslucentActivity" android:screenOrientation="portrait" android:configChanges="keyboardHidden" android:theme="@android:style/Theme.Translucent" /> <activity android:name="ti.modules.titanium.ui.android.TiPreferencesActivity" android:screenOrientation="portrait" android:configChanges="keyboardHidden"/> </application> </manifest> </android> <mobileweb> <precache/> <splash> <enabled>true</enabled> <inline-css-images>true</inline-css-images> </splash> <theme>default</theme> </mobileweb> <modules> <module platform="android" version="2.3.2">ti.urbanairship</module> <module platform="android" version="0.1">net.iamyellow.tiws</module> </modules> <deployment-targets> <target device="android">true</target> <target device="blackberry">false</target> <target device="ipad">false</target> <target device="iphone">true</target> <target device="mobileweb">false</target> <target device="tizen">false</target> </deployment-targets> <sdk-version>3.1.3.GA</sdk-version> <plugins> <plugin version="1.0">ti.alloy</plugin> </plugins> <property name="ti.deploytype">development</property> </ti:app>What are my options in this matter? Is there a workaround for an Alloy project?