UNPKG

react-native-android-background-geolocation

Version:

A react-native geolocation module for Android, which can run in the foreground and background even the app is terminated.

16 lines (14 loc) 409 B
// @flow export const PriorityModeEnum = { PRIORITY_BALANCED_POWER_ACCURACY: 10001, PRIORITY_HIGH_ACCURACY: 10002, PRIORITY_LOW_POWER: 10003, PRIORITY_NO_POWER: 10004 }; export const ErrorCodeEnum = { PERMISSIONS_DENIED: 40001, PRIORITY_NOT_SUPPORTED: 40002, GOOGLE_PLAY_SERVICE_UPDATING: 40003, GOOGLE_PLAY_SERVICE_NEED_UPDATE: 40004, GOOGLE_PLAY_SERVICE_ERROR: 40005 };