Bnaya created CB-10343:
--------------------------
Summary: Permissions request plugin / api
Key: CB-10343
URL: https://issues.apache.org/jira/browse/CB-10343
Project: Apache Cordova
Issue Type: Improvement
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]