0
votes

I have build an app using react native(detached) but the thing is I would want to completely get rid of Expo. The reason is, what if one day EXPO service get shut down or no more supported.

So in this case I would not want the app to be affected.

Currently I need to publish my app thru ExpoKit to see the latest changes, how would I build my android app so it would not have any reference to Expo but still be able to work properly

Currently this is how I understand how the react native and expo works: first u build ur app using react native code and then a bundle.js is generated somewhere on cloud(EXPO) using publish command so the app communicate with that bundle.js.

Note I am not using any feature from Expo so why would I need Expo in this case?

Edited: If I am detaching my app from expo, I mean why would I still need Expo? Can't I just build the app and run the app without expo at all?

1

1 Answers

0
votes

You can build your whole application without using expo, just follow the steps from facebook documentation in "Building Projects with Native Code" tab.

or

you can run "npm run eject" in your project root directory folder.

After this, you can build your appliaction using react-native cli commands, like react-native run-android.

edited :-- For building apk for production, you can follow steps given in facebook documentation as generating signed apk and for released IPA for iOS yo can follow building your app for production for IOS.