Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-13207

clarify "just in time" recommendation in README

Agile BoardAttach filesAttach ScreenshotAdd voteVotersWatch issueWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            josh.m.sharpe@gmail.com Josh Sharpe

            Dates

              Created:
              Updated:

              Slack

                Issue deployment