Searched refs:GEOFENCING_TASK (Results 1 – 3 of 3) sorted by relevance
| /expo/home/screens/DiagnosticsScreen/ |
| H A D | GeofencingDiagnosticsScreen.tsx | 20 const GEOFENCING_TASK = 'geofencing'; 74 const isGeofencing = await Location.hasStartedGeofencingAsync(GEOFENCING_TASK); 121 await Location.stopGeofencingAsync(GEOFENCING_TASK); 124 await Location.startGeofencingAsync(GEOFENCING_TASK, this.state.geofencingRegions); 167 if (await Location.hasStartedGeofencingAsync(GEOFENCING_TASK)) { 169 await Location.startGeofencingAsync(GEOFENCING_TASK, this.state.geofencingRegions); 251 const task = tasks.find(({ taskName }) => taskName === GEOFENCING_TASK); 256 TaskManager.defineTask(GEOFENCING_TASK, async ({ data: { region } }: any) => { 266 notificationType: GEOFENCING_TASK, 275 if (response.notification.request.content.data?.notificationType === GEOFENCING_TASK) { [all …]
|
| /expo/apps/native-component-list/src/screens/Location/ |
| H A D | GeofencingScreen.tsx | 12 const GEOFENCING_TASK = 'geofencing'; 88 const isGeofencing = await Location.hasStartedGeofencingAsync(GEOFENCING_TASK); 112 await Location.stopGeofencingAsync(GEOFENCING_TASK); 115 await Location.startGeofencingAsync(GEOFENCING_TASK, state.geofencingRegions); 144 if (await Location.hasStartedGeofencingAsync(GEOFENCING_TASK)) { 146 await Location.startGeofencingAsync(GEOFENCING_TASK, next); 210 const task = tasks.find(({ taskName }) => taskName === GEOFENCING_TASK); 214 TaskManager.defineTask(GEOFENCING_TASK, async ({ data: { region } }: { data: any }) => {
|
| /expo/apps/test-suite/tests/ |
| H A D | Location.js | 11 const GEOFENCING_TASK = 'geofencing-task'; constant 521 const geofencingTask = await TaskManager.getTaskOptionsAsync(GEOFENCING_TASK); 536 await Location.startGeofencingAsync(GEOFENCING_TASK, regions); 540 const started = await Location.hasStartedGeofencingAsync(GEOFENCING_TASK); 550 await Location.startGeofencingAsync(GEOFENCING_TASK, newRegions); 555 await Location.stopGeofencingAsync(GEOFENCING_TASK); 559 const started = await Location.hasStartedGeofencingAsync(GEOFENCING_TASK); 567 await Location.startGeofencingAsync(GEOFENCING_TASK, []); 577 await Location.startGeofencingAsync(GEOFENCING_TASK, [{ longitude: 'not a number' }]); 591 TaskManager.defineTask(GEOFENCING_TASK, () => {});
|