I have a Github repository for a react native app running with the expo. I want to use Heroku to make that react app public. Is that possible? If yes, then how can I do it? If no, then how to make a local react native expo app public?
Note: I used NGROK to make it public but I need to change the code every 2 hours because the generated NGROK URL expires every 2 hours.
Edit: There is an option in Heroku to connect your Github Repository and deploy the app. But how do I do that given that I use NGROK URLs every time for a request?
Related
I have a third-party OAuth in my react-native expo app.
I need to specify a https redirect url to the third party website to come back to my app. Right now when I am running my app on expo - I am using auth.expo to redirect to the app and it works fine.
Now, when I want to run it as an independent app, how should I set up redirection in it?
I have searched a lot for it and the solutions that I have found said to modify the AndroidManifest file which is not there in app created via expo.
Can you please guide on how should I proceed?
Can I create a static web server inside an expo app? I know I can do that in react-native. I knew it from here.
But i want know about the expo managed workflow
I have added react-native-code-push in my react native app and if I add a new page in my page and then deploy it on code-push cloud, it will work or not?
What is the limit of changing the things in react-native-code-push?
Please do tell that what if I deployed in code push cloud and app store both, then the users will get the update button in play store or not?
Can we push the changes only to some users?
I have been using CodePush in production for quite sometime now.
I have added react-native-code-push in my react native app and if I
add a new page in my page and then deploy it on code-push cloud, it
will work or not?
It will work smooth!
What is the limit of changing the things in react-native-code-push?
Any JS change can be pushed via CodePush.
Please do tell that what if I deployed in code push cloud and app
store both, then the users will get the update button in play store or
not?
Only if you have any changes that have changed your native code. (Ex- Add a library that has a native module linked) You need to make sure you deploy via Playstore/Appstore.
I’m trying to create an app generator that creates an expo app and then deploys it to the app store and play store.
I’ve done the generator part, now I have to do the deploy.
My question is, is there a way I can answer to expo-cli interactions in expo build and upload automatically? So I can set them before and then when the user generates the app, I can automatically in an aws instance deploy this app to my app store account?
I know that I can set apple id and password before, as I can set push key and provisioning key. But the first question “? How would you like to upload your credentials? (Use arrow keys)” I just can’t.
I just solved it myself with autoexpect!
I'm trying to use proxy with my react-native app (build with CRNA and Expo).
So in my package.json file I put : "proxy": "192.168.1.27:8080" and then make simple get request with fetch with the/users` path and react call me network error (he don't see the proxy param, just /users when I'm debugging).
The fetch request work well if I put the full url.
In react (for website) I do the same thing and that's work to.
Thank's for your help.
In Reactjs proxies are mainly used to avoid cors issues. Since React Native connects to iOS & Android natively, there is no browser issue so you don't need a proxy.
The approach I use is to call http:127.0.0.1:nnnn/api/route (not localhost) in the React Native app when testing the backend, and the deployed url in production. So you can deploy your server separately and reach it directly in the app.