You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Josh Sharpe (JIRA)" <ji...@apache.org> on 2017/08/23 17:37:00 UTC

[jira] [Created] (CB-13207) clarify "just in time" recommendation in README

Josh Sharpe created CB-13207:
--------------------------------

             Summary: clarify "just in time" recommendation in README
                 Key: CB-13207
                 URL: https://issues.apache.org/jira/browse/CB-13207
             Project: Apache Cordova
          Issue Type: Improvement
          Components: cordova-plugin-geolocation
            Reporter: Josh Sharpe


The README states: 'Therefore, in addition to the app's privacy policy, you should strongly consider providing a *just-in-time notice* before the app accesses geolocation data (if the device operating system doesn't do so already).'

It seems that all the methods exposed on this plugin trigger the native permission dialog on iOS. So, there's no way to check that the permission has been enabled or not - which would inform whether or not to show a "just in time" notice.

The only real possibility is to show this "just in time" notice before every use of this plugin -- which makes no sense in the case where the user has already granted permission.

Does it make sense to add some functionality that simply checks if the permission has been granted?  This method would *never* trigger the native dialog.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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