react-native - Apple Watch on react-native

标签 react-native watchkit apple-watch watchos

我想让 Apple Watch 的 react-native 工作,但我不确定从哪里开始

我开始阅读 iOS 实现的代码,以了解他们是如何做到的。

我的问题是:是否有任何资源或指南可以帮助实际实现 react-native(他们是否讨论过它的这方面),或者我是否需要通读代码并自己弄清楚?

如果 react-native 团队制作了一份关于他们如何在 iOS(或 Android)上启动和运行它的文档,那就太好了,尽管他们可能已经有了,这正是我正在寻找的。

在此先感谢您的任何建议和/或帮助

最佳答案

我也在研究这个。我将分享我的发现。

根据 this comment从 2015 年的 React Native 团队开始,该团队还没有资源来支持它。

Right now, we're focused on normal iOS and Android. We still a very small team and don't have the resources to target a different support right now. However, we open sourced React Native in the hope that we get help from the community to build those :)

有人试图 build one进行了大量的逆向工程,但仍然存在导致崩溃的未解决问题。

关于react-native - Apple Watch on react-native,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36867628/

相关文章:

javascript - React Native,如何通过按下按钮将多个 TextInput 中的值获取到一个对象中?

swift - 通过 AVAudioRecorder 在 WatchOS 上录制音频

ios - WKInterfaceController 取消按钮

ios - Apple Watch 通知操作在 iPhone 配套应用程序终止时不起作用 watch OS 5.3.2

swift - 在 WatchKit 上从 URL 加载图像

swift - 为什么红蜘蛛不再适用于真正的 Apple Watch (WatchOS 6)?

javascript - react-native-modal-dropdown 无法以编程方式更改所选内容

reactjs - .map() , Undefined 不是 React Native 中的函数

ios - Watchkit:在非事件或后台应用程序状态下执行时,playHaptic 无效

javascript - react native : Prevent remote debugger from opening in Chrome