Home
last modified time | relevance | path

Searched refs:getCurrentPositionAsync (Results 1 – 25 of 34) sorted by relevance

12

/expo/apps/native-component-list/src/screens/Location/
H A DLocationScreen.tsx96 title="getCurrentPositionAsync – lowest accuracy"
98 Location.getCurrentPositionAsync({ accuracy: Location.LocationAccuracy.Lowest })
102 title="getCurrentPositionAsync – balanced accuracy"
103 action={() => Location.getCurrentPositionAsync()}
H A DGeofencingScreen.tsx87 const { coords } = await Location.getCurrentPositionAsync();
121 const { coords } = await Location.getCurrentPositionAsync();
H A DGeocodingScreen.tsx81 const location = await Location.getCurrentPositionAsync({
H A DBackgroundLocationMapScreen.tsx114 const { coords } = await Location.getCurrentPositionAsync();
257 const { coords } = await Location.getCurrentPositionAsync();
/expo/apps/test-suite/tests/
H A DLocation.js185 Location.getCurrentPositionAsync({
195 Location.getCurrentPositionAsync({
205 Location.getCurrentPositionAsync({
218 Location.getCurrentPositionAsync({
232 Location.getCurrentPositionAsync({
244 Location.getCurrentPositionAsync({ accuracy: Location.Accuracy.Low }),
245 Location.getCurrentPositionAsync({ accuracy: Location.Accuracy.Lowest }),
246 Location.getCurrentPositionAsync(),
254 await Location.getCurrentPositionAsync({ accuracy: Location.Accuracy.Low });
272 const current = await Location.getCurrentPositionAsync({
/expo/packages/expo-location/src/__tests__/
H A DLocation-test.native.ts44 const result = await Location.getCurrentPositionAsync({});
111 expect(NativeModulesProxy.ExpoLocation.getCurrentPositionAsync).toHaveBeenCalled();
/expo/packages/expo-location/build/
H A DExpoLocation.web.d.ts14 getCurrentPositionAsync(options: LocationOptions): Promise<LocationObject>;
H A DGeolocationPolyfill.js42 … const result = await ExpoLocation.getCurrentPositionAsync(convertGeolocationOptions(options));
H A DLocation.js47 export async function getCurrentPositionAsync(options = {}) { function
48 return ExpoLocation.getCurrentPositionAsync(options);
H A DLocation.d.ts32 export declare function getCurrentPositionAsync(options?: LocationOptions): Promise<LocationObject>;
H A DExpoLocation.web.js76 async getCurrentPositionAsync(options) {
H A DGeolocationPolyfill.js.map1 …equestPermissionsAsync();\n const result = await ExpoLocation.getCurrentPositionAsync(convertGe…
H A DLocation.js.map1getCurrentPositionAsync` and `watchPositionAsync` are doing it automatically anyway.\n\n if (Plat…
H A DExpoLocation.web.js.map1 …eturn lastKnownPosition;\n }\n return null;\n },\n async getCurrentPositionAsync(options: …
/expo/packages/expo-location/src/
H A DLocation.ts78 export async function getCurrentPositionAsync( function
81 return ExpoLocation.getCurrentPositionAsync(options);
H A DGeolocationPolyfill.ts66 const result = await ExpoLocation.getCurrentPositionAsync(convertGeolocationOptions(options));
H A DExpoLocation.web.ts98 async getCurrentPositionAsync(options: LocationOptions): Promise<LocationObject> {
/expo/home/screens/DiagnosticsScreen/
H A DGeofencingDiagnosticsScreen.tsx73 const { coords } = await Location.getCurrentPositionAsync();
140 const { coords } = await Location.getCurrentPositionAsync();
H A DLocationDiagnosticsScreen.tsx92 const { coords } = await Location.getCurrentPositionAsync();
208 const { coords } = await Location.getCurrentPositionAsync();
/expo/packages/expo-location/
H A DCHANGELOG.md173 - Fixed `Location.getCurrentPositionAsync` throwing `Location provider is unavailable.` error. ([#1…
266 - Removed the deprecated `enableHighAccuracy` option of `getCurrentPositionAsync`. ([#9251](https:/…
267 - Removed `maximumAge` and `timeout` options from `getCurrentPositionAsync` – it's been Android onl…
283 - Fixed `getCurrentPositionAsync` not resolving on Android when the lowest accuracy is used. ([#925…
/expo/docs/pages/versions/v46.0.0/sdk/
H A Dlocation.mdx104 let location = await Location.getCurrentPositionAsync({});
/expo/docs/pages/versions/v47.0.0/sdk/
H A Dlocation.mdx104 let location = await Location.getCurrentPositionAsync({});
/expo/docs/pages/versions/unversioned/sdk/
H A Dlocation.mdx146 let location = await Location.getCurrentPositionAsync({});
/expo/docs/pages/versions/v49.0.0/sdk/
H A Dlocation.mdx146 let location = await Location.getCurrentPositionAsync({});
/expo/docs/pages/versions/v48.0.0/sdk/
H A Dlocation.mdx146 let location = await Location.getCurrentPositionAsync({});

12