- request(locationPermissionType: LocationRequestPermissionType, rationale: null | {
denyButton?: {
label: string;
};
successButton?: {
label: string;
};
text: string;
title: string;
}, callback: LocationPermissionCallback): void
-
Parameters
-
-
rationale: null | {
denyButton?: {
label: string;
};
successButton?: {
label: string;
};
text: string;
title: string;
}
-
Returns void
Requests location permission from the user. It'll also attempt to activate any disbaled services (Android Only)