Giter Site home page Giter Site logo

Comments (4)

hvaughan3 avatar hvaughan3 commented on May 27, 2024

I believe this is just a recommendation and not a requirement. The following link mentions the text as a "recommended" description. Have you see this change to a required description somewhere?

https://support.google.com/googleplay/android-developer/answer/9799150?hl=en#zippy=%2Cdisclosure-statement-requirements%2Crecommended-disclosure-format

from cordova-plugin-geolocation.

jpoloram avatar jpoloram commented on May 27, 2024

They aren't allowing the app onto the google play store without it. The format is recommended but the context i.e. explaining that you are using the geolocation in the background and the purpose it serves within the app.

from cordova-plugin-geolocation.

breautek avatar breautek commented on May 27, 2024

Android doesn't have request text in the same way iOS does. The permission model is not configurable. That is the system model that the user actually uses to give or deny consent.

Instead, Android gives you some amount of flexibility in how you inform your users. They do have some requirements and is definitely more picky if you have background location enabled or you use location data for analytics/ads, but it can be either a snippet of information on screen, or a dialog just before you call the API.

I'll say that Cordova doesn't really expose a permission API, so producing a dialog jist before showing a request dialog can be difficult but the third party diagnostics plugin can help fill that gap. https://github.com/dpa99c/cordova-diagnostic-plugin

from cordova-plugin-geolocation.

jcesarmobile avatar jcesarmobile commented on May 27, 2024

The plugin only prompts for permission, but the prompt you are talking about is something you should prompt before the plugin prompts for permissions, so there is nothing to do on the plugin side, you could use cordova-plugin-dialogs plugin to show that text before using cordova-plugin-geolocation

You can see a video with an explanation about that disclosure text and how it should be presented before requesting the permissions, but it's a different prompt from the permissions prompt

https://www.youtube.com/watch?v=b0I1Xq_iSK4

from cordova-plugin-geolocation.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.