Closed TurKurT656 closed 3 years ago
Hi, you can use constructPermissionsRequest along with location permission if you want to. constructLocationPermissionRequest
is just a helper function to address with https://github.com/permissions-dispatcher/PermissionsDispatcher/issues/646 without any additional effort.
Thanks
Overview
constructPermissionsRequest
fun we can request multiple permissions at the same time (for example,Camera
andMicrophone
), by passing multiple permissions to the function (vararg
).constructLocationPermissionRequest
). So how we can combine location permissions with other permissions at the same time?Expected
constructPermissionsRequest(CAMERA, LOCATION_FINE) { TODO() }
Actual
constructPermissionsRequest(CAMERA) { constructLocationPermissionRequest(LOCATION_FINE) { TODO() } }
Environment