diff --git a/apps/AEPSampleApp/extensions/PlacesView.tsx b/apps/AEPSampleApp/extensions/PlacesView.tsx index ce8a22b4..a715a58d 100644 --- a/apps/AEPSampleApp/extensions/PlacesView.tsx +++ b/apps/AEPSampleApp/extensions/PlacesView.tsx @@ -78,6 +78,12 @@ const setAuthorizationStatus = () => { console.log('Authorization status set'); }; +const setAccuracyAuthorization = () => { + Places.setAccuracyAuthorization('fullAccuracy'); + console.log('Accuracy authorization set'); +}; + + const PlacesView = ({navigation: {goBack}}: NavigationProps) => { return ( @@ -99,6 +105,10 @@ const PlacesView = ({navigation: {goBack}}: NavigationProps) => { title="setAuthorizationStatus()" onPress={setAuthorizationStatus} /> +