Request dangerous permission for wear os watchface

64 Views Asked by At

I'm trying to create a watch face using some data. However, I need access to ACCESS_FINE_LOCATION to get the user's location. From the sample provided here, the watch face is launched as a service and permission's cannot be requested from a service. What would be the best approach to develop a watch face that requires dangerous permissions and will require to make network calls?

1

There are 1 best solutions below

2
dect On

I'm not sure if it's the right way to do it for a watch face... but you can start an activity once the face is set to request the permission...