Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] - Modal only gets triggered once on app install #123

Closed
delvinwidjaja opened this issue Nov 25, 2022 · 4 comments
Closed

[BUG] - Modal only gets triggered once on app install #123

delvinwidjaja opened this issue Nov 25, 2022 · 4 comments
Labels
enhancement Feature request that enhances features and will be worked on help wanted Extra attention is needed

Comments

@delvinwidjaja
Copy link
Contributor

Describe the bug
Modal only gets triggered once when the app is installed

To Reproduce
Steps to reproduce the behavior:
After the user gives permission to the app, the user can revoke the permission manually in settings.
Apparently, the new state of the permissions given can't be detected. When I try to show the modal by observing the permission value it shows nothing.

Smartphone (please complete the following information):

  • Device: iPhone XR
  • OS: 15.5

Additional context
I'm not really sure if this is a bug or if this is just not implemented (yet).

@delvinwidjaja delvinwidjaja added the possible bug Something isn't working label Nov 25, 2022
@delvinwidjaja
Copy link
Contributor Author

@jevonmao is this the expected behavior?

@jevonmao jevonmao added confirmed bug A bug behavior that has been confirmed by maintainers help wanted Extra attention is needed and removed possible bug Something isn't working confirmed bug A bug behavior that has been confirmed by maintainers labels Nov 28, 2022
@jevonmao
Copy link
Owner

@delvinwidjaja Yes this is expected and not a bug. It should check with system API every time, and show the pop up if permission status is undetermined. However, if user manually revokes the permission in settings, the status changes to explicitly denied, which can only be regranted by user toggling it back in settings. The app cannot show the prompt again.

But this is a good feature for future, I will open a feature ticket.

@delvinwidjaja
Copy link
Contributor Author

Thanks for the clarification. Cheers!

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale label Dec 30, 2022
@github-actions github-actions bot closed this as completed Jan 3, 2023
@jevonmao jevonmao added enhancement Feature request that enhances features and will be worked on and removed stale labels Aug 7, 2023
@jevonmao jevonmao reopened this Aug 7, 2023
@jevonmao jevonmao closed this as completed Aug 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature request that enhances features and will be worked on help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants