What is the recommended way to ask for a person's location? The documentation seems to be incomplete.
Previously, you would use user-profile-access but that has been deprecated. Yet, the documentation for device-location-access states 'This is a beta feature and doesn't yet have documentation'
When using device-location-access...the simulator (and device) still ask for the contacts as if I'm using the deprecated 'user-profile-access' permission. Here are the current settings.
capsule.bxb
permissions {
device-location-access
}
capsule-info.bxb
requested-permissions {
permission (device-location-access) {
justification (Access your location to provide local deals)
}
}