fhircore icon indicating copy to clipboard operation
fhircore copied to clipboard

Add Check for Distance Calculation Feature to Prevent Location Permissions Prompt for All Projects

Open qiarie opened this issue 9 months ago • 0 comments

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:

  1. Run an app that does not have distance calculation as a feature
  2. Set up and login to the app
  3. 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 Screenshot_1715865579

qiarie avatar May 16 '24 13:05 qiarie