Git Product home page Git Product logo

Comments (6)

Serchinastico avatar Serchinastico commented on September 12, 2024

Hi @pkleczko

First of all, thanks for reporting.

The behaviour you are describing is how actually Android permissions work, the first time you request any permission the system will simply show the dialog asking the user for her consent. If the user requests the same permission for the second time, the system will call the shouldShowRequestPermissionRationale callback to let you explain to your user why your app needs the requested feature.

I recommend you to read the official runtime permissions documentation, specially the section referring to the rationale: link

from dexter.

pkleczko avatar pkleczko commented on September 12, 2024

Yes, you're rigth. I was not aware it works like this. Thanks for reply.

from dexter.

Hoss3inf avatar Hoss3inf commented on September 12, 2024

Dear @Serchinastico
I was wondering if there is any way to let the user see the dialog the first time the app attempts to ask for the permission, as an explanation to the user why the app is asking for the permission?
thanks in advance.

from dexter.

pedrovgs avatar pedrovgs commented on September 12, 2024

@Hoss3inf you can always show any or contextual help dialog before using Dexter.

from dexter.

Hoss3inf avatar Hoss3inf commented on September 12, 2024

@pedrovgs I just thought I can do it within Dexter. thanks for your reply.

from dexter.

pedrovgs avatar pedrovgs commented on September 12, 2024

That's simple to implement and depends a lot on the user needs that we decided not to add that feature to the lib.

from dexter.

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.