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

[TIMOB-25322] (6_3_X) iOS: Improve new Ti.Geolocation authentication-flow #9538

Merged
merged 6 commits into from Oct 27, 2017

Conversation

hansemannn
Copy link
Collaborator

@jvandijk
Copy link

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) {
Copy link

@jvandijk jvandijk Oct 20, 2017

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.

Copy link
Collaborator Author

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.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right

Copy link
Contributor

@ewieberappc ewieberappc left a 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.

@hansemannn hansemannn merged commit 1be26e2 into tidev:6_3_X Oct 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants