This release brings abstractions, allowing code reuse between ReactNative Cordova plugin variants. As result enabling faster pace of development and bug fixing on shared codebase.
- post/sync attributes customization via
postTemplate
config prop - iOS ACTIVITY_PROVIDER (experimental)
- enable partial plugin reconfiguration
- on "activity" changed event
- Android Use gradle to choose authority (PR #136) by @jsdario
- iOS configuration persistence
Since alpha.8:
- Android automatic linking with react-native link
- iOS checkStatus returns status of location services (locationServicesEnabled)
- iOS RAW_LOCATION_PROVIDER continue to run on app terminate
Since alpha.10:
- Android checkStatus returns status of location services (locationServicesEnabled)
Since alpha.15:
- Android location parameters isFromMockProvider, mockLocationsEnabled, radius, provider
- Android Headless Task
Since alpha.16:
- iOS add background modes and permissions on postlink
- add crossplatform prepublish script execution (PR #165) by @dobrynia
Since alpha.17:
- Android allow to override version of libraries with ext declaration
Since alpha.19:
- Android Oreo experimental support
Since alpha.20:
- option to get logs by offset and filter by log level
- log uncaught exceptions
Since alpha.22:
- method forceSync
Since alpha.26:
- Android add httpHeaders validation
Since alpha.6:
- iOS saveBatteryOnBackground defaults to false
Since alpha.8:
- shared code base with Cordova
Since alpha.11:
- Android derive sync authority and provider from applicationId
- Android remove android.permission.GET_ACCOUNTS
Since alpha.19:
- Android postlink register project in settings.gradle instead of file copying (BREAKING CHANGE - read android-setup section)
Since alpha.20:
- iOS use Android log format (BREAKING CHANGE)
Since alpha.22:
- Android remove sync delay when conditions are met
- Android consider HTTP 201 response code as succesful post
- Android obey system sync setting
Since alpha.26:
- Android show service notification only when in background
- Android remove config option startForeground (related to above)
- Android remove wake locks from both Android providers (by @grassick)
- Android remove restriction on postTemplate string only values
Since alpha.4:
- iOS open location settings on iOS 10 and later (PR #158) by @asafron
Since alpha.8:
- checkStatus authorization
- Android fix for Build Failed: cannot find symbol
Since alpha.9:
- Android fix #118 - NullPointerException LocationService.onTaskRemoved
- Android permission - check and request permissions in runtime
Since alpha.13:
- Android fix allowBackup attribute conflict
Since alpha.14:
- Android fix #166 - Error: more than one library with package name 'com.google.android.gms.license'
Since alpha.15:
- Android only pass valid location parameters
- iOS reset connectivity status on stop
- iOS fix App Store Rejection - Prefs Non-Public URL Scheme
Since alpha.17:
- Android fix service accidently started with default or stored config
Since alpha.21:
- Android uninstall common module on postunlink
- Android prevent multiple registration of common project
- Android fix some nullpointer exceptions 92649c70e0ce0072464f47f1d096bef40047b8a6
- iOS update plist on changes only
Since alpha.22:
- Android add guards to prevent some race conditions
- Android config null handling
Sice alpha.25:
- Android issue #185 - handle invalid configuration
Sice alpha.27:
- iOS fix forceSync params
- fix #183 - Error when adding 'activity' event listener
- react native peer dependency >0.49.0
release
- iOS send http headers on background sync
- Android ConfigMapper mapToConfig missing config props (fixes #122)
- Android return location id for getLocations
- iOS fix crash when calling getConfig before configure
- checkStatus if service is running
- events [start, stop, authorization, background, foreground]
- implement all methods for both platforms
- new RAW_LOCATION_PROVIDER
- start and stop methods doesn't accept callback (use event listeners instead)
- for background syncing syncUrl option is required
- on Android DISTANCE_FILTER_PROVIDER now accept arbitrary values (before only 10, 100, 1000)
- all plugin constants are in directly BackgroundGeolocation namespace. (check index.js)
- plugin can be started without executing configure (stored settings or defaults will be used)
- location property locationId renamed to just id
- iOS pauseLocationUpdates now default to false (becuase iOS docs now states that you need to restart manually if you set it to true)
- iOS finish method replaced with startTask and endTask
- Android location sync should also be completed on 201 status code (PR #71)
- iOS implementation for isLocationEnabled (PR #92)
- (tpisto) iOS compile error in React Native 0.48.x (fixes #108)
- RN 0.47 compatibility (fixes #95)
- iOS fixing build issue #44
- iOS RN 0.40 compatibility
- Android fix issue #10
- Android fix crash on destroy when plugin was not configured
- fix Android issue #10 - crash on refresh
- Android onStationary
- Android getLogEntries
- Android location filtering
- Android project directory structure (please read updated install instructions)
- Android db logging instead of file
- fix config not persisted
- tmp fix Android time long to int conversion
- Android isLocationEnabled
- Android showAppSettings
- Android showLocationSettings
- Android getLocations
- Android getConfig
- upgrading plugin to match cordova 2.2.0-alpha.6
- fix iOS crash on stop
- initial iOS implementation
- initial Android implementation