wtg / Shuttle-Tracker-SwiftUI

Rensselaer campus shuttle tracker
https://shuttletracker.app
Mozilla Public License 2.0
9 stars 2 forks source link

Add “warming” screen to encourage “always” location authorization #117

Closed Gerzer closed 1 year ago

Gerzer commented 1 year ago

To connect to the Shuttle Tracker Network in the background, users need to grant our app “always” location authorization. We should add a so-called “warming” screen to explain to people why they should grant this authorization and join the Network. This screen should adapt based on the current authorization status (e.g., “not determined“, “while in use“, etc.), offering the most direct action for the user to grant “always” authorization. It should also properly handle scenarios in which the user grants only coarse accuracy authorization because we need precise location accuracy. (We already have a dedicated permissions screen; perhaps we can try to unify the authorization and action logic between that screen and this new “warming” screen.)

In recent versions of iOS/iPadOS, apps must first request “while in use” authorization and then request an upgrade to “always” authorization separately. We can preset the second prompt manually while the user is actively using our app, or we can instead let the system present it automatically when the first background location update is about to be delivered. We should discuss which flow will generate more authorizations. Perhaps we could execute our first A/B test to determine this!

Gerzer commented 1 year ago

Some relevant references: