Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-19375] Android: Android M new runtime permissions model

GitHub Issuen/a
TypeSub-task
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2015-10-08T02:38:07.000+0000
Affected Version/sn/a
Fix Version/sRelease 5.1.0
ComponentsAndroid
Labelsn/a
ReporterChee Kiat Ng
AssigneeHieu Pham
Created2015-08-19T04:48:52.000+0000
Updated2016-03-10T12:32:34.000+0000

Description

This preview introduces a new permissions model, where users can now directly manage app permissions at runtime. This model gives users improved visibility and control over permissions, while streamlining the installation and auto-update processes for app developers. Users can grant or revoke permissions individually for installed apps. http://developer.android.com/preview/features/runtime-permissions.html

Comments

  1. Chee Kiat Ng 2015-09-09

  2. Hieu Pham 2015-09-14

    Check permissions for Android-M PR: https://github.com/appcelerator/titanium_mobile/pull/7183 Update appcompat libraries to 23.0.1: https://github.com/appcelerator/titanium_mobile/pull/7215
  3. Ashraf Abu 2015-09-22

    Merged PR - Update appcompat libraries to 23.0.1: https://github.com/appcelerator/titanium_mobile/pull/7215
  4. Ingo Muschenetz 2015-09-29

    [~fokkezb] [~bgrantges@appcelerator.com] FYI. This will be released with 5.1.0. For developers, Nexus 5, 6, 7, 9 and Player will get an upgrade next week, the rest of the devices wont get update until late 2015/earlty 2016.
  5. Ashraf Abu 2015-10-08

    Merged PR: https://github.com/appcelerator/titanium_mobile/pull/7183
  6. Lokesh Choudhary 2015-10-27

    Verified the implementation. *On android M the app asks for access if the permission model is implemented in the app. If not the app does nothing & the functionality which requires access does not work. *Tested using the test sample here : https://wiki.appcelerator.org/display/community/PRD+-+Parity+for+Android%2C+iOS+and+Windows+on+handling+of+permissions *If the permissions are revoked manually the app again requests them when relaunched. *Running the sample app on android version below android M runs the app normally without asking for any permission. Environment: Appc Studio : 4.4.0.201510231805 Ti SDK : 5.1.0.v20151026164636 Ti CLI : 5.0.5 Alloy : 1.7.18 MAC Yosemite : 10.10.5 Appc NPM : 4.2.1-6 Appc CLI : 5.1.0-38 Node: v0.10.37 Nexus 5 - Android 6.0

JSON Source