Chaquopy 如何与 React Native 协同工作?
How does Chaquopy work with React native?
当我查看 Chaquopy website 时,它说它适用于 React Native。有人可以指出那怎么可能吗?有没有办法将 Python 脚本输出提取到 React Native 模块中?
要在 React Native 应用程序中使用 Chaquopy,您需要:
- 按照 Chaquopy 文档中的说明配置项目的 Gradle files, Python source code and Python requirements。
- 创建 native module to link your project to the Chaquopy Java API.
当我查看 Chaquopy website 时,它说它适用于 React Native。有人可以指出那怎么可能吗?有没有办法将 Python 脚本输出提取到 React Native 模块中?
要在 React Native 应用程序中使用 Chaquopy,您需要:
- 按照 Chaquopy 文档中的说明配置项目的 Gradle files, Python source code and Python requirements。
- 创建 native module to link your project to the Chaquopy Java API.