Current code is using ContentProviderLocationDAO instead of SQLiteLocationDAO, therefore deleteAllLocations() will delete all records, instead of updating status to BackgroundLocation.DELETED, as in SQLiteLocationDAO.
Current documentation at https://github.com/mauron85/react-native-background-geolocation shows that deleteAllLocations() WILL NOT delete any records, instead it will update the status to BackgroundLocation.DELETED. Considering the documentation is valid, deleteAllLocations() is now broken as it will delete all records, since it's using ContentProviderLocationDAO, not SQLiteLocationDAO.
Current code is using ContentProviderLocationDAO instead of SQLiteLocationDAO, therefore deleteAllLocations() will delete all records, instead of updating status to BackgroundLocation.DELETED, as in SQLiteLocationDAO.
Current documentation at https://github.com/mauron85/react-native-background-geolocation shows that deleteAllLocations() WILL NOT delete any records, instead it will update the status to BackgroundLocation.DELETED. Considering the documentation is valid, deleteAllLocations() is now broken as it will delete all records, since it's using ContentProviderLocationDAO, not SQLiteLocationDAO.