Our customers complain for quite some time now, that our Apps do not work on Android 4.4.x ... we are searching for a way to change this, would even take the risk in using a beta TI-SDK.
So we have to use SDK v3.3.0.v20131218154851 because:
- 3.1.x doesn't work because there is no support for Android 4.4.x
- 3.2.x doesn't work because distributing with a non englisch language doesn't work (we are german)
In our Apps we have this piece of code:
<android xmlns:android="http://schemas.android.com/apk/res/android"> <uses-sdk android:maxSdkVersion="19" android:minSdkVersion="11" android:targetSdkVersion="11"/> <manifest android:versionCode="20" android:versionName="1.4.1"/> <manifest> <application android:hardwareAccelerated="true"> <activity-kommentar android:configChanges="keyboardHidden|orientation" android:label="inside-digital.de" android:name=".insidedigitaldeActivity" android:theme="@style/Theme.Titanium"> <intent-filter> <action android:name="android.intent.action.VIEW"/> <category android:name="android.intent.category.DEFAULT"/> <category android:name="android.intent.category.BROWSABLE"/> <category android:name="android.intent.category.LAUNCHER"/> <data android:scheme="insidedigital"/> </intent-filter> </activity-kommentar> </application> </manifest> </android>Put it in your TiApp.xml and it works ... with SDK 3.1.3. Well at least it worked prior to some updates for Studio, now I get this error:
/AndroidManifest.xml:6: error: No resource identifier found for attribute 'hardwareAccelerated' in package 'android'But this is not the point ....
With SDK 3.3 nothing of the above code shows up in the AndroidManifest.xml, it looks like this:
<?xml version="1.0" encoding="UTF-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="de.insidedigital" android:versionCode="1" android:versionName="1.4.1"> <uses-sdk android:minSdkVersion="10" android:targetSdkVersion="19"/> <application android:icon="@drawable/idappicon" android:label="inside-digital.de" android:name="InsideDigitalDeApplication" android:debuggable="false" android:hardwareAccelerated="true"> <activity android:name=".InsideDigitalDeActivity" android:label="@string/app_name" android:theme="@style/Theme.Titanium" android:configChanges="keyboardHidden|orientation|screenSize"> <intent-filter> <action android:name="android.intent.action.MAIN"/> <category android:name="android.intent.category.LAUNCHER"/> </intent-filter> </activity> <activity android:name="org.appcelerator.titanium.TiActivity" android:configChanges="keyboardHidden|orientation|screenSize"/> <activity android:name="org.appcelerator.titanium.TiTranslucentActivity" android:configChanges="keyboardHidden|orientation|screenSize" android:theme="@android:style/Theme.Translucent"/> <activity android:name="ti.modules.titanium.ui.android.TiPreferencesActivity" android:configChanges="screenSize"/> <service android:name="org.appcelerator.titanium.analytics.TiAnalyticsService" android:exported="false"/> </application> <uses-permission android:name="android.permission.INTERNET"/> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> </manifest>There is a android:versionCode="1" in it but there is no possibility to change this.
Has anyone an idea how to support Android 4.4.x with Titanium without losing the custom changes we made to the TiApp.xml?
Any help / idea would be very much appreciated, we are quite desperate to get our apps working again.
Big thanks for everything
Falko