purposeKeyForRequestTemporaryFullAccuracyAuthorization
This property allows the super app to describe the reason for accessing location data with full accuracy authorization.
Note: Must configure this property before initializing the SDK.
Property
copy
/**
iOS 14 allows users to share only their approximate location with apps rather than their precise location.
If a user grants only approximate location, you can prompt for temporary precise location.
Refer to official doc for [CLLocationManager requestTemporaryFullAccuracyAuthorizationWithPurposeKey:] for more detail.
This value is used by chooseLocation (JSAPI) to prompt for temporary precise location.
*/
@property (nonatomic, copy) NSString * _Nullable purposeKeyForRequestTemporaryFullAccuracyAuthorization;
Name | Type | Description | Required |
purposeKeyForRequestTemporaryFullAccuracyAuthorization | NSString | Indicates the reason for accessing location data with full accuracy authorization. | Yes |
Sample
copy
func createGriverConfiguration() -> GRVConfiguration {
let configuration = GRVConfiguration()
configuration.purposeKeyForRequestTemporaryFullAccuracyAuthorization = "that describes the reason for accessing location data with full accuracy"
return configuration
}