Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-26281] Android: Investigate privacy-changes in Android P

GitHub Issuen/a
TypeStory
PriorityMedium
StatusClosed
ResolutionDone
Resolution Date2018-10-26T01:24:15.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAndroid
Labelsandroid, android-p, camera
ReporterHans Knöchel
AssigneeJoshua Quick
Created2018-08-10T07:34:29.000+0000
Updated2018-10-26T01:24:15.000+0000

Description

Android P introduces some [behavior changes](https://developer.android.com/about/versions/pie/android-9.0-changes-all#privacy-changes-all) of which some also effect apps not targeting Android P but running on them. In detail, there are privacy changes that for example disallow the microphone or camera to be used from the background. We should investigate if this affects our apps as well.

Comments

  1. Joshua Quick 2018-08-10

    I'm pretty sure supporting these features in the background requires a foreground service which was implemented in 7.3.0. But we should double-check what the behavior actually is and document it.
  2. Joshua Quick 2018-10-26

    I've confirmed that we can still use GPS while app is in the background if using a foreground service. Also, gyroscope and accelerometer sensors still work on Android P as well... although an app developer should always turn these sensors off while backgrounded. Titanium orientation event handling already internally turns it off when suspended and re-enables the orientation sensors when the app is resumed. We're good.

JSON Source