Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I need know if workout is outdoor or indoor #63

Open
appsowner opened this issue Sep 26, 2023 · 3 comments
Open

I need know if workout is outdoor or indoor #63

appsowner opened this issue Sep 26, 2023 · 3 comments

Comments

@appsowner
Copy link

Is your feature request related to a problem? Please describe.
I need know if workout is outdoor or indoor

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
i need paint map if is outdoor

Additional context

@AliakseiT
Copy link

if (workout.harmonized.metadata?['HKIndoorWorkout'] == '1')
{
...
}

@appsowner
Copy link
Author

Hi,

Always return null :

   print(e.harmonized.type.description);
    print(e.harmonized.metadata);

result :
flutter: Walking
flutter: 1695680185.444363
flutter: 2023-09-25 19:16:25.000
flutter: 701.4890412739478
flutter: metadata
flutter: null
flutter: Running
flutter: 1695679628.027242
flutter: 2023-09-25 19:07:08.000
flutter: 88.06042102631181
flutter: metadata
flutter: null

result the other app
image

Thanks for you help

@appsowner
Copy link
Author

hello! any idea ? thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants