I have installed a Tizen web application in Samsung Gear S3. The application uses sensors and collects the heart rate, pedometer, accelerometer data etc., I want the application to run all the time. But some how, the application is terminated after sometime.
Every 10 minutes in the day time (say 8am to 8pm), user gets a notification to give an input in the application and the application restarts when the user clicks on the link to the application.
This implies, every 10 minutes, the application restarts. Even between those 10 minutes, the application gets terminated. I don't know why.
I tried using CPU_AWAKE to not let the watch go into sleep mode with the following command.
tizen.power.request("CPU", "CPU_AWAKE");
I have also enabled the background support in config.xml file.
The application used to work fine in Samsung Gear S2, I am not able to understand why it gets stopped in S3.
Please let me know if anyone knows the reason and how to fix it.
Thanks.