Git Product home page Git Product logo

Comments (8)

mshalomdave avatar mshalomdave commented on September 12, 2024 1

Sorry for the delay in my response. I have created a Repository(https://github.com/mshalomdave/DexterRepo). So am clarifying on the issue:
This happens when I had clicked the View and in case of no permissions granted, the Permission Dialog Appears should I rotate the screen as I am granting the permissions then,(I believe the context gets a different identifier) and then the granting of permissions may still proceed and will work well but won't be able to call the method. Not sure if it's because it doesn't recognize the current context after rotation.
The good thing is that the permissions are granted but the user will have to click the View again in order to run the method.

from dexter.

ShandyukSergey avatar ShandyukSergey commented on September 12, 2024 1

Faced with the same issue, onPermissionsChecked doesn't call after configuration change. I was able to reproduce the issue with provided sample by @mshalomdave

STR:

  1. Click avatar icon(permissions dialog is showing)
  2. Change screen orientation to landscape
  3. Click 'Allow' button on permissions dialog
  4. Click 'Allow' button on permissions dialog once more
    AR: onPermissionsChecked didn't trigger
    ER: onPermissionsChecked have triggered

from dexter.

pedrovgs avatar pedrovgs commented on September 12, 2024

Hey @mshalomdave could you please try to update the library to the latest version? There are some fixes we introduced in the last releases that could fix the issue.

from dexter.

mshalomdave avatar mshalomdave commented on September 12, 2024

Hello @pedrovgs. Appreciate the response. I have done as you have suggested (V. 6.2.1) but unfortunately, it's still happening. Just to add in something to what I said above. This happens when I had clicked the View and in case of no permissions granted, the Permission Dialog Appears should I rotate the screen as I am granting the permissions then,(I believe the activity gets a different identifier) and then the granting of permissions may still proceed and will work well but won't be able to call the method. Not sure if it's because it doesn't recognize the current activity after rotation.

from dexter.

pedrovgs avatar pedrovgs commented on September 12, 2024

@pedrovgs could you please create a simple repository reproducing the issue? This would help us a lot with the fix.

from dexter.

pedrovgs avatar pedrovgs commented on September 12, 2024

@mshalomdave I'm running the code of the provided example and I don't see what's wrong. I'm afraid I don't understand where the issue is. Could you please a list of steps to reproduce the error in the sample provided and the expected behavior?

from dexter.

mshalomdave avatar mshalomdave commented on September 12, 2024

Apologies for the late response. What @ShandyukSergey has said is exactly the issue

from dexter.

pedrovgs avatar pedrovgs commented on September 12, 2024

I'm afraid @mshalomdave this is a Dexter known issue we face due to the activity being recreated when the screen is rotated. If you don't mind we will keep reviewing the issue in #276

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.