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

Adjust Location Permission and Storage Permission flow #177

Merged
merged 18 commits into from
Jul 13, 2021

Conversation

zafodB
Copy link
Collaborator

@zafodB zafodB commented Jul 8, 2021

This PR contains several major changes to permission logic, focusing on Location and Storage permissions:

  • A new class CustomLocationManager is introduced to centrally handle all location-related actions. Requesting permissions from the user is handled here.
  • The location permission request flow is adjusted to display Location Permission rationale before requesting the location (to satify Play Store requirement)
  • App start-up flow is adjsuted so that the Location permissions don't overlap with Privacy Policy dialog
  • Storage permission is not requested anymore for saving logs, instead the user is prompted to select the location when saving the log.

@zafodB zafodB added the Major Major Release Feature label Jul 8, 2021
@zafodB zafodB requested a review from sastry17 July 8, 2021 11:12
@zafodB zafodB self-assigned this Jul 8, 2021
@zafodB zafodB linked an issue Jul 8, 2021 that may be closed by this pull request
@zafodB
Copy link
Collaborator Author

zafodB commented Jul 8, 2021

The app should now be displaying the Prominent disclosure popup, warning the user why the location is being requested. The exact wording of this warning may need to be adjusted further.

@sastry17
Copy link
Collaborator

sastry17 commented Jul 8, 2021

updated google-services.json to enable firebase sync

@sastry17 sastry17 linked an issue Jul 13, 2021 that may be closed by this pull request
changed privacy policy icon
@zafodB zafodB merged commit e5e2a8b into ver-2.4(major) Jul 13, 2021
@zafodB zafodB deleted the permission-update branch July 13, 2021 08:58
@sastry17 sastry17 added the ver:2.4 HosTaGe v.2.4 label Jul 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Major Major Release Feature ver:2.4 HosTaGe v.2.4
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change icon of Privacy Menu item Android 11 Location Permissions and Privacy Policy update
2 participants