UNPKG

cordova-plugin-location-provider

Version:

This Android background service provides the location of the device via HTTP-POST e.g. triggered by GCM notification.

86 lines (60 loc) 2.39 kB
## ChangeLog #### Version 1.5.5 (28.2.2024) - Added app version to service requests #### Version 1.5.4 (16.10.2022) - Added getOwnPosition method to replace Geolocation API call #### Version 1.5.1 (12.10.2022) - Improved handling of deep sleep (Doze) mode, version 2 #### Version 1.5.0 (24.4.2022) - Location as foreground service to avoid throttling of location query #### Version 1.4.19 (31.7.2020) - Improved handling of power save mode #### Version 1.4.17 (29.7.2020) - Improved handling of deep sleep (Doze) mode #### Version 1.4.15 (23.7.2020) - ACCESS_BACKGROUND_LOCATION permission for API level 29 #### Version 1.4.14 (1.9.2019) - Changed the icon of blocked location query #### Version 1.4.13 (5.7.2019) - Android 9 compatibility for push token updates #### Version 1.4.12 (6.3.2019) - UUID towards Push Server #### Version 1.4.11 (19.8.2018) - Android 8 compatibility for push token updates #### Version 1.4.9 (1.5.2018) - Added handling of push token updates #### Version 1.4.8 (27.4.2018) - Fixed crash caused by missing user permission for location #### Version 1.4.6 (21.12.2017) - Optional trackerOff field in POSITION message #### Version 1.4.5 (30.11.2017) - History skipped if own request #### Version 1.4.4 (5.9.2017) - Optional host address from request #### Version 1.4.3 (27.5.2017) - New security headers #### Version 1.4.1 (30.10.2016) - Age field added into location data #### Version 1.4.0 (22.5.2016) - Optional chat history #### Version 1.3.0 (2.4.2016) - Optional team specific member name #### Version 1.2.0 (12.2.2016) - Optional icon field in POSITION message - Optional blocked field in ALIVE message #### Version 1.1.2 (30.12.2015) - mTime (epoch) added into location data - Android namespace added for VS2015 compatibility #### Version 1.1.1 (2.11.2015) - Added support for several servers #### Version 1.1.0 (13.10.2015) - Plugin moved to npm #### Version 1.0.4 (8.7.2015) - Location timeout now configurable, default 60 sec - Default value of desired accuracy is 50, if not received in notification - Rounding faults of location fields fixed #### Version 1.0.1 (8.7.2015) - HTTP address support - Push Server interface in case of collision #### Version 1.0.0 (4.7.2015) - Initial version inspired by https://github.com/Red-Folder/bgs-core