Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-26481] Android: Target API Level 28 (Android P) by default

GitHub Issuen/a
TypeImprovement
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2018-10-24T00:20:15.000+0000
Affected Version/sn/a
Fix Version/sRelease 7.5.0
ComponentsAndroid
Labelsandroid, build, target
ReporterJoshua Quick
AssigneeJoshua Quick
Created2018-10-23T18:56:26.000+0000
Updated2018-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>

Comments

  1. Joshua Quick 2018-10-23

    PR (master): https://github.com/appcelerator/titanium_mobile/pull/10395
  2. Keerthi Mahalingam 2018-10-23

    FR passed.Waiting for CR and merge
  3. Samir Mohammed 2018-10-25

    *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

JSON Source