I'm studying some possibilities to use in my project, I would like to know if I can to communicate a Watch OS project with the IOS flutter project.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
At the moment, neither watchOS, nor Android Wear is supported by Flutter.
The lack of watchOS support is due to the lack of Bitcode support for iOS, as discussed in this GitHub issue. You can track the state of Adding Bitcode support for iOS - Flutter GitHub issue, but currently it seems to have a low priority for the Flutter development team.
For Android Wear, there seems to be no official reasons, but it is still not supported. You can track the progress of that in this GitHub issue.
回答2:
There are open issues about watchOS and Android Wear
- https://github.com/flutter/flutter/issues/2057
- https://github.com/flutter/flutter/issues/15288
回答3:
here is how you can have a apple watch app in your flutter project. it should be developed as iOS native app.
https://medium.com/@ferrazrx/flutter-apple-watch-swift-b43110dc4545