You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Bnaya (JIRA)" <ji...@apache.org> on 2016/12/08 15:03:59 UTC

[jira] [Commented] (CB-10343) Permissions request plugin / api

    [ https://issues.apache.org/jira/browse/CB-10343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15732436#comment-15732436 ] 

Bnaya commented on CB-10343:
----------------------------

http://cordova.apache.org/docs/en/latest/guide/platforms/android/plugin.html#runtime-permissions-cordova-android-500
Thats a good addition 
would love to see something similar for IOS

> Permissions request plugin / api
> --------------------------------
>
>                 Key: CB-10343
>                 URL: https://issues.apache.org/jira/browse/CB-10343
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: Android, iOS
>            Reporter: Bnaya
>
> With android 6 now requesting permissions on demand is on the 2 main platforms.
> In order to create good UX and to align with the platforms guidelines the permissions request and checking shouldn't be bound to the plugin,
> or not to the api call itself, but should have separate api call. 
> If you can't abstract it properly, its better to provide platform specific js api and guidelines about what is the proper way to ask for permissions.
> That will also make the development of new plugins much more easier,
> and will simplify existing plugins as they will have standart way to ask for permission or they can just tell the developer to use the permissions plugin before calling their plugin api.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org