timfraedrich/OutRun

Apple Health sync issues

Opened this issue · 6 comments

Some users are reporting the automatic import of workouts and saving to Apple Health not working under iOS 14.

Amwam commented

I was having this problem on iOS 14 (and iOS 14.0.1).

I cloned the repo and built with the latest version of Xcode (Version 12.0 (12A7209)), and that seems to have solved the manual import for me.

It might be that to fix this, there just needs to be a build submitted with the latest version.

Amwam commented

Just to be safe, I uninstalled the original app, the re-installed from the app store. I was able to import all my workouts from Health as normal.

So it looks like the issue may only be related to existing installs.

Amwam commented

Sorry to post one more time, but was able to reproduce again.

After a successful import (after re-installing the app) then starting a workout from the Apple Watch (workouts app). I'm no longer able to import that new workout into the app.

Is there any news on this issue? I just installed the app on my iphone with IOS 14.4.2
When I try to sync Workouts to Apple Health, I receive the error "NIL - Es gab einen Fehler beim Versuch alle vorher noch nicht synchronisierten Workouts in Apple Health zu speichern, andere wurden vielleicht nicht synchronisiert."

I don't see anything synced. In particular my Cycling Distance isn't synched which is really annoying.
Minor issue: there is a typo in the error message. In the last word the first "r" is missing in synchronisiert.

Update: I was able to get the app the sync to Apple Health after not only allowing Cycling Distance to Sync, but in addition adding the workouts. Question: is this really necessary? Can't the distance be synced without the workout? If this should really be necessary, the error message should be updated accordingly - but from what I see in Apple Health, I think it should be possible to only sync the cycling distance.

Is there any news on this issue? I just installed the app on my iphone with IOS 14.4.2

Actually there is! I am currently reworking the entire management for Apple Health (beside many other things), it's a slow process because I haven't been able to put much time aside for this project, but I'm getting there.

Update: I was able to get the app the sync to Apple Health after not only allowing Cycling Distance to Sync, but in addition adding the workouts. Question: is this really necessary? Can't the distance be synced without the workout? If this should really be necessary, the error message should be updated accordingly - but from what I see in Apple Health, I think it should be possible to only sync the cycling distance.

The issue your were experiencing is a bit complicated. In theory it is of course possible to synchronise just the distance, but the way syncing works in OutRun is unfortunately not designed that way. OutRun synchronised a workout and directly attaches other samples (like distance) to it, to be able to manipulate or delete the workout afterwards the app saves an identifier. Now without the permission to sync a workout no link would be made in the app and manipulation of deletion of the saved samples would be impossible.

Is there any news on this issue? I just installed the app on my iphone with IOS 14.4.2

Actually there is! I am currently reworking the entire management for Apple Health (beside many other things), it's a slow process because I haven't been able to put much time aside for this project, but I'm getting there.

Update: I was able to get the app the sync to Apple Health after not only allowing Cycling Distance to Sync, but in addition adding the workouts. Question: is this really necessary? Can't the distance be synced without the workout? If this should really be necessary, the error message should be updated accordingly - but from what I see in Apple Health, I think it should be possible to only sync the cycling distance.

The issue your were experiencing is a bit complicated. In theory it is of course possible to synchronise just the distance, but the way syncing works in OutRun is unfortunately not designed that way. OutRun synchronised a workout and directly attaches other samples (like distance) to it, to be able to manipulate or delete the workout afterwards the app saves an identifier. Now without the permission to sync a workout no link would be made in the app and manipulation of deletion of the saved samples would be impossible.

In that case I suggest you update the error message, so the user can understand the problem and fix the issue.
Another thing I noticed is that every message has "NIL" as the title of the message. Is this intentional? It really looks like an error to me - as if the string displayed is null.