Esri / data-collection-ios

Mobile data collection app using the iOS Runtime SDK.
https://developers.arcgis.com/
Apache License 2.0
25 stars 26 forks source link

Location Display Improvements #124

Closed esreli closed 6 years ago

esreli commented 6 years ago

Improves how location display is started and how the app handle location auth status changes.

To verify this change, follow these 2 scenarios:

A

  1. Delete Data Collection app from device
  2. Launch Data Collection app
  3. Grant Data Collection app access to device location Location Display should be visible
  4. Switch to Settings app, remove authorization to device location
  5. Switch back to Data Collection app Location Display should not be visible
  6. Switch to Settings app, grant authorization to device location
  7. Switch back to Data Collection app Location Display should be visible

B

  1. Delete Data Collection app from device
  2. Launch Data Collection app
  3. Do not grant Data Collection app access to device location Location Display should not be visible
  4. Switch to Settings app, grant authorization to device location
  5. Switch back to Data Collection app Location Display should be visible
philium commented 6 years ago

FYI: There is an alternative to deleting the app. If you'd prefer to keep the app's data, you can use Settings > General > Reset > Reset Location & Privacy.