[
https://issues.apache.org/jira/browse/CB-10343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15326964#comment-15326964
]
Bnaya commented on CB-10343:
----------------------------
You can't abstract from the developer that you are asking for permissions,
The "one api fits all", even that is very simple for beginner developers,
leading to many problems when you want to make hight quality apps
> 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: [email protected]
For additional commands, e-mail: [email protected]