Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-28472] Android: Target API Level 31 (Android 12) by default

GitHub Issuen/a
TypeImprovement
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2021-09-03T09:20:30.000+0000
Affected Version/sn/a
Fix Version/sRelease 10.1.0
ComponentsAndroid
Labelsandroid, build, target
ReporterJoshua Quick
AssigneeJoshua Quick
Created2021-06-05T01:05:27.000+0000
Updated2021-09-03T09:20:30.000+0000

Description

*Summary:* When building a Titanium app for Android, Titanium should target API Level 31 (aka: Android 12) by default. Titanium currently targets API Level 30 (aka: Android 11). *Note:* Titanium currently does not target API Level 31 by default. This is a safety precaution until Titanium addresses all of Android 12's breaking changes. But a developer can opt-in to targeting the newest API Level (at their own risk) by adding the following to their "tiapp.xml" file.
<ti:app>
	<android xmlns:android="http://schemas.android.com/apk/res/android">
		<manifest>
			<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="31"/>
		</manifest>
	</android>
</ti:app>

Comments

  1. Joshua Quick 2021-08-31

    PR (titanium_mobile): https://github.com/appcelerator/titanium_mobile/pull/13052

JSON Source