简体   繁体   English

在iOS和Android上使用React Native时,我仍然可以使用本地第三方库吗?

[英]Can I still use native third-party lirbraries when using React Native for iOS and Android?

I'm trying out React Native from Facebook, it looks cool. 我正在从Facebook试用React Native,它看起来很棒。

One of my concerns is that looks like all the code is in JavaScript, is it possible for me to still use third-party Objective-C libraries for iOS and Java libraries for Android? 我关心的问题之一是看起来所有代码都在JavaScript中,对于我来说是否仍然可以使用iOS的第三方Objective-C库和Android的Java库?

As I can't build everything from scratch myself, and the current components available for React Native are still not that rich. 由于我自己不能从头开始构建所有内容,因此React Native可用的当前组件仍然不那么丰富。

Look forward to advice, thanks. 期待指教,谢谢。

yes you can use native libraries. 是的,您可以使用本机库。

Checkout documentation: https://facebook.github.io/react-native/docs/native-modules-android.html 结帐文档: https : //facebook.github.io/react-native/docs/native-modules-android.html

Remember that android support is not ready, it's suppose to come in about 6 months. 请记住,Android支持尚未准备好,大概会在6个月内到来。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM