06-05-2021 11:43 - edited 06-05-2021 12:05
06-05-2021 11:43 - edited 06-05-2021 12:05
I developed a simple application that monitors & saves heart rate data with timestamp and sends them to the companion. For the purpose, the program should run 24 hours a day or longer, but it keeps turning off every 10 to 12 minutes.
Below is log I got:
I used "me.appTimeoutEnabled = false; // Disable timeout" but still having the same problem.
I also set my application to clockface, but recieved the same log that app is closed on device.
Can anyone knows the reasons and how to resolve it?
06-05-2021 14:24
06-05-2021 14:24
Use the memory API to monitor memory usage. If your app crashes because it runs out of memory, it will be closed and the companion will be unloaded.