[TIMOB-28047] Android: Target API Level 30 (Android 11) by default
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2020-11-12T15:14:49.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 9.3.0 |
Components | Android |
Labels | android, build, target |
Reporter | Joshua Quick |
Assignee | Joshua Quick |
Created | 2020-07-25T00:06:43.000+0000 |
Updated | 2020-11-12T15:14:49.000+0000 |
Description
*Summary:*
When building a Titanium app for Android, Titanium should target API Level 30 (aka: Android 11) by default.
Titanium currently targets API Level 29 (aka: Android 10).
*Note:*
Titanium currently does not target API Level 30 by default. This is a safety precaution until Titanium addresses all of Android 11'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="19" android:targetSdkVersion="30"/>
</manifest>
</android>
</ti:app>
PR (master): https://github.com/appcelerator/titanium_mobile/pull/12252
FR Passed. Waiting for jenkins.
merged to master for 9.3.0 target