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:
Set the location permission of my app to “Never”, and the app has not launched;
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;
Skip to page B again, and the popup ask you to allow the permission, select “Not Allowed”; then it backs to page A;
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”;
Skip to page B again, and set the system pop to “Not Allowed”, then I found no callback this time.
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: