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
[TIMOB-25322] (6_3_X) iOS: Improve new Ti.Geolocation authentication-flow #9538
Conversation
Reviewed the implementation! Works as described. |
// (by selecting "when in use", he/she will still get a dialog that includes the "when in use" option. | ||
// In case that one is still selected then, the developer should know about that selection and the following | ||
// statement allows that. | ||
if (!requestedStatusMatchesActualStatus) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hansemannn this addition has zero effect, because when the authorization status remains unchanged and thus this whole method is not fired.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's for the initial "when in use" instead of "always" selection, which would fire but with success: true
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're right
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FR Passed. The WhenInUse key is always required. To have "always" permissions, both Always and AlwaysAndWhenInUse keys are required. Appropriate error messages appear if the required keys are not present.
JIRA: https://jira.appcelerator.org/browse/TIMOB-25322