Jobeso / react-native-whatsapp-stickers

Integrate sticker packs for WhatsApp with your react-native app
Other
82 stars 30 forks source link

[Discussion] Expo support #5

Closed mukeshphulwani66 closed 5 years ago

mukeshphulwani66 commented 5 years ago

Discussiom

How to setup dev environment with expo?

Jobeso commented 5 years ago

Can you elaborate how it is possible to use native third party code with expo? I never used expo because of the limitations that you are not able to integrate native code so I'm curious how it is possible. So I can have a look at it and see what it takes to make this project compatible.

gustafsilva commented 5 years ago

I think it would be necessary to Ejecting the application, it has the official create-react-native-app documentation that explains about it but I never had to do it, but I will try for a new project :smile:

Jobeso commented 5 years ago

@gustafsilva I think so, too. At least this is how I understood their explanation in the docs. But when you have ejected it I think you can use this project like it is now, right?

apertureless commented 5 years ago

Expo does not support native dependencies right now. You have to eject it and have then a "standalone" react native project with the expo sdk as a dependency. (But without OTA Updates and all the fancy stuff expo has)

However then you can link native dependencies like always.

Jobeso commented 5 years ago

Hey @apertureless, thanks for the explanation. Then I'll close this because I expect it to work with an ejected expo app.

@mukeshphulwani66 feel free to open the issue if you feel this is not resolved or the expo support changed.