UNPKG

expo-location

Version:

Allows reading geolocation information from the device. Your app can poll for the current location or subscribe to location update events.

6 lines (3 loc) 175 B
import { LegacyEventEmitter } from 'expo-modules-core'; import ExpoLocation from './ExpoLocation'; export const LocationEventEmitter = new LegacyEventEmitter(ExpoLocation);