Open oreHGA opened 8 months ago
Expo uses TaskManager to handle the running of background activities...
The first implementation here periodically wakes up and syncs data when a person is actively participating in a study (quest) https://github.com/NEUROFUSIONInc/fusion/blob/6cacb4930958747ea6a08458150d1db98dbfae10/mobile/src/services/taskmanager.service.ts
Because I respond to prompts often, my copliot messages are relevant to how I'm feeling and are helpful. My challenge though is that I have to open the app to see it and I don't do that as often.
We can do better.