[TIMOB-26481] Android: Target API Level 28 (Android P) by default
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2018-10-24T00:20:15.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 7.5.0 |
Components | Android |
Labels | android, build, target |
Reporter | Joshua Quick |
Assignee | Joshua Quick |
Created | 2018-10-23T18:56:26.000+0000 |
Updated | 2018-10-25T15:22:08.000+0000 |
Description
*Summary:*
When building for Android, Titanium should target API Level 28 (aka: Android 9.0) by default if installed under the Android SDK.
Titanium currently targets up to API Level 27 (aka: Android 8.1).
*Note:*
Titanium currently does not target API Level 28 by default. This is a safety precaution until Titanium addresses all Android P 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="16" android:targetSdkVersion="28"/>
</manifest>
</android>
</ti:app>
PR (master): https://github.com/appcelerator/titanium_mobile/pull/10395
FR passed.Waiting for CR and merge
*Closing ticket.* Verified improvement in SDK version
7.5.0.v20181025051112.
Test and other information can be found at: https://github.com/appcelerator/titanium_mobile/pull/10395