| /expo/packages/expo-maps/ios/ExpoMaps/Records/ |
| H A D | UserLocationRecord.swift | 16 init(location: CLLocation) { 18 altitude = location.altitude 21 speed = location.speed 23 heading = location.course 27 init(location: MKUserLocation) { 29 altitude = location.location?.altitude 30 accuracy = location.location?.horizontalAccuracy 31 verticalAccuracy = location.location?.verticalAccuracy 32 speed = location.location?.speed 33 speedAccuracy = location.location?.speedAccuracy [all …]
|
| /expo/ios/versioned/sdk49/ExpoMaps/ExpoMaps/Records/ |
| H A D | UserLocationRecord.swift | 16 init(location: CLLocation) { 18 altitude = location.altitude 21 speed = location.speed 23 heading = location.course 27 init(location: MKUserLocation) { 29 altitude = location.location?.altitude 30 accuracy = location.location?.horizontalAccuracy 31 verticalAccuracy = location.location?.verticalAccuracy 32 speed = location.location?.speed 33 speedAccuracy = location.location?.speedAccuracy [all …]
|
| /expo/ios/versioned/sdk48/ExpoMaps/ExpoMaps/Records/ |
| H A D | UserLocationRecord.swift | 16 init(location: CLLocation) { 18 altitude = location.altitude 21 speed = location.speed 23 heading = location.course 27 init(location: MKUserLocation) { 29 altitude = location.location?.altitude 30 accuracy = location.location?.horizontalAccuracy 31 verticalAccuracy = location.location?.verticalAccuracy 32 speed = location.location?.speed 33 speedAccuracy = location.location?.speedAccuracy [all …]
|
| /expo/packages/expo-maps/android/src/main/java/expo/modules/maps/records/ |
| H A D | UserLocationRecord.kt | 3 import android.location.Location 10 class UserLocationRecord(location: Location) : Record { 12 var position: LatLngRecord = LatLngRecord(LatLng(location.latitude, location.longitude)) 15 var altitude: Double = location.altitude 18 var accuracy: Float = location.accuracy 22 var verticalAccuracy: Float = location.verticalAccuracyMeters 25 var speed: Float = location.speed 29 var speedAccuracy = location.speedAccuracyMetersPerSecond 32 var heading: Float = location.bearing 35 var timestamp: Long = location.time
|
| /expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/host/exp/exponent/modules/api/components/maps/ |
| H A D | FusedLocationSource.java | 5 import android.location.Location; 8 import com.google.android.gms.location.FusedLocationProviderClient; 9 import com.google.android.gms.location.LocationCallback; 10 import com.google.android.gms.location.LocationRequest; 11 import com.google.android.gms.location.LocationResult; 12 import com.google.android.gms.location.LocationServices; 13 import com.google.android.gms.location.Priority; 51 public void onSuccess(Location location) { in activate() 52 if (location != null) { in activate() 53 onLocationChangedListener.onLocationChanged(location); in activate() [all …]
|
| /expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/host/exp/exponent/modules/api/components/maps/ |
| H A D | FusedLocationSource.java | 5 import android.location.Location; 8 import com.google.android.gms.location.FusedLocationProviderClient; 9 import com.google.android.gms.location.LocationCallback; 10 import com.google.android.gms.location.LocationRequest; 11 import com.google.android.gms.location.LocationResult; 12 import com.google.android.gms.location.LocationServices; 13 import com.google.android.gms.location.Priority; 51 public void onSuccess(Location location) { in activate() 52 if (location != null) { in activate() 53 onLocationChangedListener.onLocationChanged(location); in activate() [all …]
|
| /expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/host/exp/exponent/modules/api/components/maps/ |
| H A D | FusedLocationSource.java | 5 import android.location.Location; 8 import com.google.android.gms.location.FusedLocationProviderClient; 9 import com.google.android.gms.location.LocationCallback; 10 import com.google.android.gms.location.LocationRequest; 11 import com.google.android.gms.location.LocationResult; 12 import com.google.android.gms.location.LocationServices; 13 import com.google.android.gms.location.Priority; 51 public void onSuccess(Location location) { in activate() 52 if (location != null) { in activate() 53 onLocationChangedListener.onLocationChanged(location); in activate() [all …]
|
| /expo/android/expoview/src/main/java/versioned/host/exp/exponent/modules/api/components/maps/ |
| H A D | FusedLocationSource.java | 5 import android.location.Location; 8 import com.google.android.gms.location.FusedLocationProviderClient; 9 import com.google.android.gms.location.LocationCallback; 10 import com.google.android.gms.location.LocationRequest; 11 import com.google.android.gms.location.LocationResult; 12 import com.google.android.gms.location.LocationServices; 13 import com.google.android.gms.location.Priority; 51 public void onSuccess(Location location) { in activate() 52 if (location != null) { in activate() 53 onLocationChangedListener.onLocationChanged(location); in activate() [all …]
|
| /expo/docs/pages/versions/v46.0.0/sdk/ |
| H A D | location.mdx | 3 … access to reading geolocation information, polling current location or subscribing location updat… 5 packageName: 'expo-location' 15 `expo-location` allows reading geolocation information from the device. Your app can poll for the c… 82 import * as Location from 'expo-location'; 85 const [location, setLocation] = useState(null); 105 setLocation(location); 112 } else if (location) { 113 text = JSON.stringify(location); 149 src="/static/images/sdk/location/enable-android-emulator-location.png" 161 src="/static/images/sdk/location/ios-simulator-location.png" [all …]
|
| /expo/docs/pages/versions/v47.0.0/sdk/ |
| H A D | location.mdx | 3 … access to reading geolocation information, polling current location or subscribing location updat… 5 packageName: 'expo-location' 15 `expo-location` allows reading geolocation information from the device. Your app can poll for the c… 82 import * as Location from 'expo-location'; 85 const [location, setLocation] = useState(null); 105 setLocation(location); 112 } else if (location) { 113 text = JSON.stringify(location); 149 src="/static/images/sdk/location/enable-android-emulator-location.png" 161 src="/static/images/sdk/location/ios-simulator-location.png" [all …]
|
| /expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/location/ |
| H A D | LocationHelpers.java | 1 package abi49_0_0.expo.modules.location; 4 import android.location.Address; 5 import android.location.Location; 6 import android.location.LocationManager; 13 import com.google.android.gms.location.LocationRequest; 20 import io.nlopez.smartlocation.location.config.LocationParams; 46 if (location == null) { in locationToBundle() 62 map.putDouble("timestamp", location.getTime()); in locationToBundle() 79 coords.putDouble("heading", location.getBearing()); in locationToCoordsBundle() 80 coords.putDouble("speed", location.getSpeed()); in locationToCoordsBundle() [all …]
|
| /expo/packages/expo-location/android/src/main/java/expo/modules/location/ |
| H A D | LocationHelpers.java | 1 package expo.modules.location; 4 import android.location.Address; 5 import android.location.Location; 6 import android.location.LocationManager; 13 import com.google.android.gms.location.LocationRequest; 22 import static expo.modules.location.LocationModule.*; 46 if (location == null) { in locationToBundle() 62 map.putDouble("timestamp", location.getTime()); in locationToBundle() 79 coords.putDouble("heading", location.getBearing()); in locationToCoordsBundle() 80 coords.putDouble("speed", location.getSpeed()); in locationToCoordsBundle() [all …]
|
| /expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/location/ |
| H A D | LocationHelpers.java | 1 package abi47_0_0.expo.modules.location; 4 import android.location.Address; 5 import android.location.Location; 6 import android.location.LocationManager; 13 import com.google.android.gms.location.LocationRequest; 20 import io.nlopez.smartlocation.location.config.LocationParams; 46 if (location == null) { in locationToBundle() 62 map.putDouble("timestamp", location.getTime()); in locationToBundle() 79 coords.putDouble("heading", location.getBearing()); in locationToCoordsBundle() 80 coords.putDouble("speed", location.getSpeed()); in locationToCoordsBundle() [all …]
|
| /expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/location/ |
| H A D | LocationHelpers.java | 1 package abi48_0_0.expo.modules.location; 4 import android.location.Address; 5 import android.location.Location; 6 import android.location.LocationManager; 13 import com.google.android.gms.location.LocationRequest; 20 import io.nlopez.smartlocation.location.config.LocationParams; 46 if (location == null) { in locationToBundle() 62 map.putDouble("timestamp", location.getTime()); in locationToBundle() 79 coords.putDouble("heading", location.getBearing()); in locationToCoordsBundle() 80 coords.putDouble("speed", location.getSpeed()); in locationToCoordsBundle() [all …]
|
| /expo/docs/pages/versions/unversioned/sdk/ |
| H A D | location.mdx | 5 packageName: 'expo-location' 20 `expo-location` allows reading geolocation information from the device. Your app can poll for the c… 39 "expo-location", 124 import * as Location from 'expo-location'; 127 const [location, setLocation] = useState(null); 147 setLocation(location); 154 } else if (location) { 155 text = JSON.stringify(location); 191 src="/static/images/sdk/location/enable-android-emulator-location.png" 205 src="/static/images/sdk/location/ios-simulator-location.png" [all …]
|
| /expo/docs/pages/versions/v49.0.0/sdk/ |
| H A D | location.mdx | 5 packageName: 'expo-location' 20 `expo-location` allows reading geolocation information from the device. Your app can poll for the c… 39 "expo-location", 124 import * as Location from 'expo-location'; 127 const [location, setLocation] = useState(null); 147 setLocation(location); 154 } else if (location) { 155 text = JSON.stringify(location); 191 src="/static/images/sdk/location/enable-android-emulator-location.png" 205 src="/static/images/sdk/location/ios-simulator-location.png" [all …]
|
| /expo/docs/pages/versions/v48.0.0/sdk/ |
| H A D | location.mdx | 5 packageName: 'expo-location' 20 `expo-location` allows reading geolocation information from the device. Your app can poll for the c… 39 "expo-location", 124 import * as Location from 'expo-location'; 127 const [location, setLocation] = useState(null); 147 setLocation(location); 154 } else if (location) { 155 text = JSON.stringify(location); 191 src="/static/images/sdk/location/enable-android-emulator-location.png" 205 src="/static/images/sdk/location/ios-simulator-location.png" [all …]
|
| /expo/packages/@expo/metro-runtime/src/ |
| H A D | getDevServer.ts | 23 const url = window.location.toString(); 27 location.origin + location.pathname + '?' + qs.stringify({ ...query, platform: 'web' }) 30 url: location.origin + location.pathname,
|
| H A D | messageSocket.ts | 6 const protocol = window.location.protocol === 'https:' ? 'wss' : 'ws'; 7 const messageSocket = new WebSocket(`${protocol}://${window.location.host}/message`); 14 window.location.reload(); 19 window.location.reload();
|
| /expo/packages/expo-location/ |
| H A D | README.md | 2 <a href="https://docs.expo.dev/versions/latest/sdk/location/"> 4 src="../../.github/resources/expo-location.svg" 5 alt="expo-location" 10 …ormation from the device. Your app can poll for the current location or subscribe to location upda… 14 …in branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/location.mdx) 15 - [Documentation for the latest stable release](https://docs.expo.dev/versions/latest/sdk/location/) 28 npx expo install expo-location 37 <string>Allow $(PRODUCT_NAME) to use your location</string> 39 <string>Allow $(PRODUCT_NAME) to use your location</string> 41 <string>Allow $(PRODUCT_NAME) to use your location</string> [all …]
|
| /expo/ios/versioned-react-native/ABI47_0_0/ReactNative/Libraries/Core/Devtools/__tests__/__snapshots__/ |
| H A D | parseHermesStack-test.js.snap | 3 exports[`parseHermesStack bytecode location 1`] = ` 8 "location": Object { 18 "location": Object { 36 "location": Object { 56 "location": Object { 70 "location": Object { 83 exports[`parseHermesStack source location 1`] = ` 88 "location": Object { 98 "location": Object { 116 "location": Object { [all …]
|
| /expo/ios/versioned-react-native/ABI48_0_0/ReactNative/Libraries/Core/Devtools/__tests__/__snapshots__/ |
| H A D | parseHermesStack-test.js.snap | 3 exports[`parseHermesStack bytecode location 1`] = ` 8 "location": Object { 18 "location": Object { 36 "location": Object { 56 "location": Object { 70 "location": Object { 83 exports[`parseHermesStack source location 1`] = ` 88 "location": Object { 98 "location": Object { 116 "location": Object { [all …]
|
| /expo/packages/@expo/metro-runtime/build/ |
| H A D | getDevServer.js | 24 const url = window.location.toString(); 26 …return (location.origin + location.pathname + '?' + qs_1.default.stringify({ ...query, platform: '… 28 url: location.origin + location.pathname,
|
| H A D | messageSocket.js | 4 const protocol = window.location.protocol === 'https:' ? 'wss' : 'ws'; 5 const messageSocket = new WebSocket(`${protocol}://${window.location.host}/message`); 12 window.location.reload(); 17 window.location.reload();
|
| /expo/packages/expo-router/src/getDevServer/ |
| H A D | index.ts | 24 const url = window.location.toString(); 28 location.origin + 29 location.pathname + 35 url: location.origin + '/',
|