Explanation
I just started playing around with React Native and Firebase and I was wondering how to publish my app and the whole process. I understand so far that I have the opportunity to deploy my app to Firebase Hosting, and I did. But when I did, it created a HTML file named index.html and does not even include the app. I know that this is normal when talking about hosting websites, but the React Native app is built around JS files.
I ended up with this screen instead, https://pointtravels-1520169473363.firebaseapp.com/
The App
I simply downloaded and did the steps for the React Native Firebase Starter and then just did the Firebase initialization and deployment right afterwards with these instructions, https://firebase.google.com/docs/hosting/quickstart
You can find the app structure here, https://github.com/invertase/react-native-firebase-starter
The Firebase initialization created the following files,
firebase.json
{ "hosting": { "public": "public", "ignore": [ "firebase.json", "/.*", "/node_modules/**" ] } }
./public/index.html
- ./public/404.html
Question
How can I deploy my app and make it downloadable without publishing on the Google Play Store or the App Store?
Why
I would like to show my friends and family what I am working on.
I am still new in the app development community, so I hope that a nice soul wanna help me out with a brief explanation on how to do this.
Thanks in advance!
firebase init
after you created your RN project? Seems you did it backwards. All your files to deploy have to live in the public directory. In there, index.html has to be the landing page for your app. Anything else requires reconfiguration of the project. – Doug Stevenson