-
-
Notifications
You must be signed in to change notification settings - Fork 296
Closed
Description
"Dangerous" permissions need to be requested to the user once the app has been installed. In the case of services, particularly watch faces, there are several ways to do it (wearable app requests the permission on the wearable device, handheld app requests the permission on the wearable device, etc). The simplest seems to be having the wearable app (a service) requesting the permission on the wearable device. This requires the wearable app to create an activity from where to launch the request dialogs. The following helper class could be useful as a reference:
Example of use: