I'm building an app with a leaderboard based on users' step counts, so I need the data to sync in real time at minimum.
The problem is that when the app is terminated, steps don't seem to be counted at all, so if a user hasn't opened the app in 5 days, the leaderboard ends up completely out of sync.
Is it even possible to retrieve this data when the app has been terminated and hasn't been opened?
I'm currently using Background Fetch, which works when the app is suspended, slowly, but it does work. However, it does not sync when the app is fully terminated.