State of integration of Recording API
Hello, what is the state of the new Recording API, that replaces the Google fit API. https://developer.android.com/health-and-fitness/guides/recording-api An application that relies on this api for step recording when it is closed does not in fact record steps when it is closed.
As mentioned in #1700 , I have an app that seems to hang indefinitely because of this issue. I'm not certain though, so keep this with a grain of salt.
The app is called Walkscape; it's an upcoming Android/iOS game that is currently in closed Beta. It's basically Runescape, except that you have to walk to do actions/travel/grind.
The game relies on com.google.android.gms:play-services-fitness to obtain the step counts that happened when the game was closed/off focus. So while the game does record steps correctly as long as it stays opened and active on the screen, it hangs when trying to retrieve the steps when being restarted or switched back to. Just hanging on a "Loading steps..." message, not crashing.
Talking with the dev team of Walkscape, some of them suspect that the problem lies in my lack of this google library. It seems like there is currently a dummy API to interact with play-services-fitness from MicroG now (in v0.3.7.250932 which I have installed manually to be sure), but I imaging that my problem is similar to Shimon here (recording steps when an app is closed).
(I'll add that I seem to currently be the only beta-tester of Walkscape with this particular issue, and that people that had the same issue in the past fixed it by finally installing com.google.android.gms:play-services-fitness on their phones through the sandbox mode of Graphene OS. So while I can't be 100% certain, it looks pretty certain that the issue lies here in my case).
isn't it soon not needed because google is deprecating it in 2026 as now stated on the api site you linked?