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

Location Permission on iOS 14 #155

Open
zhongxunchao opened this issue May 8, 2021 · 1 comment
Open

Location Permission on iOS 14 #155

zhongxunchao opened this issue May 8, 2021 · 1 comment

Comments

@zhongxunchao
Copy link

Our tester told me a crazy bug and I found the repro steps as:
Precondition:
My app has 2 pages-A and B. And while the user clicks the button in page A, the app should direct to page B. And in the function “viewDidLoad” of page B, the location permission is asked.
Steps:

  1. Set the location permission of my app to “Never”, and the app has not launched;
  2. Open the app, skip to page B and ask for the location permission, set it to “Ask Next Time”; and return to my app; then the app backs to page A automatically;
  3. Skip to page B again, and the popup ask you to allow the permission, select “Not Allowed”; then it backs to page A;
  4. Skip to page B again, and the app reminds the user to skip to system settings to change the permission; then change it to “Ask Next Time”;
  5. Skip to page B again, and set the system pop to “Not Allowed”, then I found no callback this time.
@zhongxunchao
Copy link
Author

I have found a solution of the bug,but not sure whether it may cause other issues.
image

damian-kolakowski pushed a commit to damian-kolakowski/Permission that referenced this issue Oct 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant