问题描述
如何使用react-native链接或如何使用exponent在IOS和Android中手动链接第三方库。
How can I use react-native link or How can I link a third party library manually in IOS and Android using exponent.
我试图链接 react-native-image-crop-picker
但无法在exponent中使用。
I was trying to link react-native-image-crop-picker
but unable to use in exponent.
推荐答案
docs :
世博会最受限制的是,如果不拆分和使用ExpoKit,就无法添加自己的原生模块。继续阅读下一个问题以获得完整的解释。
The most limiting thing about Expo is that you can’t add in your own native modules without detaching and using ExpoKit. Continue reading the next question for a full explanation.
如果你想使用任何需要 react-native的东西链接
,然后您需要您的项目和然后使用或不使用ExpoKit 。你会失去某些功能和集成(我认为通过世博会推出通知就是其中之一)这样做,但这是一个权衡的世博会提供的一体化套餐。分离时,你会丢失这些功能。
If you want to use anything that requires react-native link
, then you need to detach your project and then develop it with or without ExpoKit. You will lose certain features and integrations (off the top of my head, I think Push Notifications via Expo is one of them) when doing so, but that is the trade-off Expo provides as an all-in-one package. When detaching, you lose those features.
这篇关于用expo反应原生链接?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!