I am developing an app for the Samsung Gear S3 with the web API and TAU. I have turned on the wrist gesture that turns on the screen and turns it off, depending on the gesture. I would like to prevent that from happening, when I have my app running. I do not want to change the Gear's system settings.
In my config.xml file, I have granted the app power
privileges:
<tizen:privilege name="http://tizen.org/privilege/power"/>
When I get to the page where I need the app to stay on, I tried to keep the screen on using:
tizen.power.request("SCREEN", "SCREEN_NORMAL");
and release it with:
tizen.power.release("SCREEN");
but that doesn't change a thing. If i shake my wrist, the watch goes off and pauses my app, what I want to prevent.