Request location permission
The Poq SDK provides RequestLocationPermission to help you request the location permission (ACCESS_COARSE_LOCATION
and ACCESS_FINE_LOCATION
). You only need to call initialize
from the onCreate
of your activity or fragment and it will return a Flow with the PoqLocationPermissionStatus describing the location status or null if the permission is being requested.