Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-19479] Parity for Android and iOS on handling of permissions

GitHub Issuen/a
TypeEpic
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2015-10-08T02:03:05.000+0000
Affected Version/sn/a
Fix Version/sRelease 5.1.0
ComponentsAndroid, iOS
Labelsparity, permissions
ReporterChee Kiat Ng
AssigneeHans Knöchel
Created2015-09-09T03:03:15.000+0000
Updated2016-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.

Comments

  1. Hans Knöchel 2015-10-07

    iOS PR for renamed / deprecated methods: https://github.com/appcelerator/titanium_mobile/pull/7271
  2. Chee Kiat Ng 2015-10-08

    PR Approved and Merged.
  3. Lokesh Choudhary 2015-10-27

    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

JSON Source