react native link using expo?

后端 未结 3 982
情书的邮戳
情书的邮戳 2021-01-03 20:00

How can I use react-native link or How can I link a third party library manually in IOS and Android using exponent.

I was trying to link react-native-image-cro

3条回答
  •  说谎
    说谎 (楼主)
    2021-01-03 20:03

    The answer by Michael is correct, but what if I say there is a way in which you can add a custom native module in expo. You can do things like react-native link, and won't lose anything provided by expo like push notification, over-the-air (OTA) updates provided by expo.

    Go through this detailed blog which shows how exactly you can do that. https://codersera.com/blog/running-expo-react-native-together/

    Note: They have created a starter kit as well, so you don't need to go through the pain of doing the entire setup by yourself. But even if you have the ongoing project, moving to the starter kit is more of a copy and paste.

    Let me know if you have any questions!

提交回复
热议问题