Details
-
Type:
Improvement
-
Status: Closed
-
Priority:
High
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: Release 7.5.0
-
Component/s: Android
-
Labels:
-
Epic Link:
-
Sprint:2018 Sprint 19 SDK, 2018 Sprint 20 SDK
Description
Apps targeting Android P must add a new FOREGROUND_SERVICE permission to the "AndroidManifest.xml" or else calling Ti.Android.Service.foregroundNotify() will throw a Java SecurityException internally and fail to start.
https://developer.android.com/preview/behavior-changes#fg-svc
We need to do the following:
- Log an error if the permission is missing when calling Service.foregroundNotify().
- Document that that this permission is required.