Request permissions again after user denies location services?

后端 未结 6 1601
耶瑟儿~
耶瑟儿~ 2020-12-05 02:43

I track the user\'s location and ask for permission when my load first loads using this:

locationManager.requestAlwaysAuthorization()
locationManager.startUp         


        
6条回答
  •  情歌与酒
    2020-12-05 03:01

    For the Health Kit api. Developers can simply add another permission into the readTypes Set and the user will be re-prompted to allow permissions. I'm not entirely sure if this works the same way with location services.

提交回复
热议问题