Manifest properties versionNumber and versionLabel are ignored
The manifest arguments <versionNumber> and <versionLabel> are both ignored when compiling an Air Application for Android.
I've created a default application using both FDT5 and Flex 4.6 using the 4.6 SDK, when compiling to Android the <versionNumber> and <versionLabel> properties are not passed to the Android Manifest.
I've logged a bug @ https://bugbase.adobe.com/index.cfm?event=bug&id=3100879 however it's so far been ignored (which is nice for a £400+ product).
I'm under the impression that I will be unable to push an app to the market place without being able to compile applications with a versionCode present in the Android Manifest, as the market requires the app version to be higher than the pervious to push an update. Also the user cannot see in the Application menu the version they currently have (if you go settings->applications->installed applications no version number appears). All native Andriod applications I've compiled always have this versioning displayed to the user and present in the manifest. Air 3.1 applications do not.
This was working in Air 2.5 ![]()
Example manifest :
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<application xmlns="http://ns.adobe.com/air/application/3.1">
<id>TestVersion</id>
<filename>TestVersion</filename>
<name>TestVersion</name>
<versionNumber>0.0.0</versionNumber>
<initialWindow>
<content>[This value will be overwritten by Flash Builder in the output app.xml]</content>
<autoOrients>true</autoOrients>
<fullScreen>false</fullScreen>
<visible>true</visible>
</initialWindow>
<android>
<manifestAdditions><![CDATA[
<manifest android:installLocation="auto">
<uses-permission android:name="android.permission.INTERNET"/>
</manifest>
]]></manifestAdditions>
</android>
</application>
This is basically an unchanged manifest (with comments removed) that's generated when you create a new actionscript mobile project in Flex Builder 4.6.
Does anyone know any workarounds, we need to use 3.1 as we're using Native Extensions in our app.
Cheers,
