Giter VIP home page Giter VIP logo

Comments (5)

Serchinastico avatar Serchinastico commented on May 17, 2024 4

Hi @Isabellle

I'm wondering if you are actually implementing the onPermissionRationaleShouldBeShown callback. When the user denies a permission, either through the dialog or the settings, the Android framework gives the app the opportunity to show a rationale to explain your user why do you need that permission.

In the case of Dexter, this callback is called with a token parameter. Once the app has informed the user, the app must use the token to continue the permission request process. If you don't want to show anything at all, you still need to call token.continuePermissionRequest() in order to notify Dexter that you are ready to effectively request the permission(s).

This is explained in the Dexter documentation. If the problem still persists let us know and we'll see if there is something we can do.

Sorry for the delay and thanks for giving us your feedback!

from dexter.

jonl-percsolutions-com avatar jonl-percsolutions-com commented on May 17, 2024 1

I ran into this issue today. The setup documentation is not very clear and it seems that the helpful "builders" should make this work easier. Instead you have to setup a "helpful" builder listener and then also setup a listener to take care of onPermissionRationaleShouldBeShown, which, imo, doesn't seem to be as helpful as it could be.

from dexter.

pedrovgs avatar pedrovgs commented on May 17, 2024

Hi @Isabellle I'd like to know if @Serchinastico's comment was helpful. Can we close this issue or the problem is related with the library implementation?

from dexter.

Isabellle avatar Isabellle commented on May 17, 2024

I switched to an homemade solution. Thanks for your assistance.

from dexter.

valterh4ck3r avatar valterh4ck3r commented on May 17, 2024

What is solution ?

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.