fhircore
fhircore copied to clipboard
Add Check for Distance Calculation Feature to Prevent Location Permissions Prompt for All Projects
Describe the bug With the implementation of distance calculation feature, setup for location services implemented in the main activity runs for every project.
There's a need to only process location services for projects have the feature enabled.
To Reproduce Steps to reproduce the behavior:
- Run an app that does not have distance calculation as a feature
- Set up and login to the app
- On loading the register, a prompt to give location permissions to the app shows
Expected behavior Only apps that use distance calculation in rules should prompt users to allow location permissions.
Screenshots