1
votes

I have to use gif in my android app for which I may require to detach my expo project.

I had a doubt that if I detach my expo project using expoKit, then can I write codes in Javascript again as I used to before detaching my expo project? Detaching will create one folder for Android and one folder for ios so then will I have to tackle them differently or writing JS code work? Please dont redirect me to the expo documentation. I have already read that but it still isn't clear to me!

I don't have much knowledge in writing native codes.

2

2 Answers

4
votes

Ejecting a React Native project only mean that you can now access the native parts of the projects separately as well. It doesn't mean that you cannot write JavaScript anymore.

Hope this helps. Happy Coding :)

3
votes

Yes you will be able to write code in JavaScript same as before. The only difference will be that Eject process will expose build and other configurations that previously you cannot control. You will also be able to access/interface with Native modules.

Its always a good idea to take backup or commit everything in Version Control (e.g. GIT) so that you can go back (if required).

Only disadvantage of ejected app is you’ll have to worry about maintaining the native project because native areas will not auto upgrade. If anything goes wrong later during development, you’ll have to get familiar with the native code.

References:

https://docs.expo.io/versions/latest/expokit/eject

https://forums.expo.io/t/crna-eject-vs-expo-detach-pros-and-cons/11257