[TIMOB-19479] Parity for Android and iOS on handling of permissions
GitHub Issue | n/a |
---|---|
Type | Epic |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2015-10-08T02:03:05.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 5.1.0 |
Components | Android, iOS |
Labels | parity, permissions |
Reporter | Chee Kiat Ng |
Assignee | Hans Knöchel |
Created | 2015-09-09T03:03:15.000+0000 |
Updated | 2016-07-19T18:33:43.000+0000 |
Description
The M Developer Preview introduces a new app permissions model which streamlines the process for users to install and upgrade apps. If an app running on the M Preview supports the new permissions model, the user does not have to grant any permissions when they install or upgrade the app. Instead, the app requests permissions as it needs them, and the system shows a dialog to the user asking for the permission. This is similar to the current iOS implementation on Titanium, so we should work towards parity for both platforms in this regard.
iOS PR for renamed / deprecated methods: https://github.com/appcelerator/titanium_mobile/pull/7271
PR Approved and Merged.
Verified the parity on IOS & android using the sample in the wiki : https://wiki.appcelerator.org/display/community/PRD+-+Parity+for+Android%2C+iOS+and+Windows+on+handling+of+permissions On both platforms the permissions are asked in a similar fashion when access is required. 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 IOS simulator : Iphone 6 , IOS 9.0