Lyokone / flutterlocation

A Flutter plugin to easily handle realtime location in iOS and Android. Provides settings for optimizing performance or battery.
MIT License
1.11k stars 820 forks source link

Support wearOS(samsung galaxy watch) and watchOS(apple watch)? #732

Closed DDS-VangTA closed 1 year ago

DDS-VangTA commented 2 years ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

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

Describe workarounds you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here. Ex: do you know any Android of iOS sample code that could be used to develop this feature ?

masus04 commented 2 years ago

Any updates on this?

I am developing a wearOS app which relies on speed data and so far was unable to find a package that implements this functionality. Are there any plans to support watch platforms in the future?

Do you know of any other packages that do support it?

xunreal75 commented 2 years ago

Watch is not part of Flutter.

You have to implement channels to communicate between Flutter and Native (Swift ...) Watch code

masus04 commented 2 years ago

WearOS is quite well supported otherwise and mostly runs like any other android app, so I don't think there's a huge difference, except that some device specific APIs require separate plugin support.

xunreal75 commented 2 years ago

Apple Watch isn't supported.

See official doc

https://docs.flutter.dev/development/platform-integration/ios/apple-watch

masus04 commented 2 years ago

Good catch, I mainly care about WearOS, which is the android watch os. This one definitely is supported and there are official packages for it, e.g. https://pub.dev/packages/wear.

talhazengin commented 1 year ago

So, no updates?

bartekpacia commented 1 year ago

Flutter doesn't officially support wearable platforms.