语言

Menu
Sites
Language
Asking Privileges in Native Service App of a Hybrid App

I am working on a Hybrid App (Web UI with Native Service) of API version 4.0 for my Gear S3 Frontier.

  • The Web UI will launch the Service.
  • Native Service will use the Sensor and Location data.

 

I'm getting the sensor privileges in the Web UI and the launched Native Service somehow gets the same privileges. But since I've reset my watch, I'm not getting the privileges in the service application, so the Tizen service is unable to access the sensors.  

 

The Web UI asks for the privileges and launches the Service Application but when I check for the privileges in service app, the result is PRIVACY_PRIVILEGE_MANAGER_CHECK_RESULT_ASKMy Service App has the privilege of Senor and Location, declared in the manifest file.  I'm wondering why the same code works fine for the Emulator..