I have a project I started with “create-react-native-app”, and then “detached”. I am using ExpoKit so I can use some of the Expo APIs and also use custom native code.
exp start so I can reload my JS during development.
I want to publish my project:
- I want the APK/IPA files to embed the minified JS so they work offline without ever connecting to the Internet.
- I do not want to publish my JS using
exp publishor host my APK/IPA via Expo.
- A. How do I avoid sending any of my project data to Expo’s services?
- B. If I use
exp build, are my private keys sent to Expo servers? Will any source code (JS, iOS/Android) be uploaded to Expo servers?
- I am happy to build in Android Studio/Xcode, but want to keep
exp startfor development.
C. This post mentions that I need to
exp publish, then
exp build which will then download the JS bundle and embed it. Cant this all be done locally?
D. How does the Xcode/A.Studio build know whether it is a development or production build? E.g. How does the apps behaviour change when loading the JS bundle?
F. Why is the JS bundle always a remote URL? Can it be a file that is packaged with the IPA/APK?
G. Also, if my JS bundle is minified, how can I have error reporting with source maps to get the original file/line in stack traces?