PushwooshLocation

PushwooshLocation is a static class responsible for pushwoosh geolocation tracking. By default pushwoosh-location library automatically adds following permissions: permission.ACCESS_FINE_LOCATIONandroid.permission.ACCESS_COARSE_LOCATION For Android 6 and higher these permissions should be requested dynamically before invoking PushwooshLocation.startLocationTracking()

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
Requests background location permission.
Link copied to clipboard
open fun startLocationTracking(callback: Callback<Void, LocationNotAvailableException>)
Starts location tracking for geo push notifications.
Link copied to clipboard
Stops geolocation tracking.