Ore Ogundipe
Ore Ogundipe
Can't really do much to fix this now. There is a "Background Task" thingy we can implement --- maybe in a future release https://docs.expo.dev/versions/latest/sdk/notifications/#handle-incoming-notifications-when-the-app-is-1
https://developer.spotify.com/documentation/web-api/reference/get-recently-played
Fell off the wagon here but I'm back now, I'll make a PR later tonight with the backend pieces for this : https://developer.spotify.com/documentation/web-api/tutorials/code-flow
to fetch active events we want to call the `activityWatchClient.getEvents()` with parameters [code](https://github.com/ActivityWatch/aw-client-js/blob/07334d2aab4db089bcd3a19a7ad88a0e1dbf443a/src/aw-client.ts#L287)
you can connect your screentime data from activitywatch here https://usefusion.ai/intergrations
https://github.com/agencyenterprise/react-native-health
This has been hooked in, we just need to display basic health information: Health - Sleep from previous night - Move - Exercise - Stands during the day

something to try out: caluclate r & p value https://docs.scipy.org/doc/scipy/reference/generated/scipy.signal.correlate.html
some interesting examples from the oura dashboard ( there's now an option I see there that covers the pearson correlation efficient between different states)  