Skip to content

Location Permission on iOS 14 #155

@zhongxunchao

Description

@zhongxunchao

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions