-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
app server update for private production - React Native #536
Comments
I believe what you're trying to do is over the air updates. I would suggest to look into those two solutions that already exists: |
hi , thank you. And why to you close the discussion ?? (I can do it myself if satisfied !) |
You will then have to create your own mechanism to download and update the JS bundle. |
the problem is that I do not understand the process of installation of METRO , and if YOU close the discussion issues as you do : you will nether have any results !!!! Thank you for having reopened the discussion. |
We have to understand how :
I need to know how please to do steps 1, 4 and 5 |
I've not done this but I believe this is the gist of what you want based on my knowledge of RN + the way react-native-code-push installation works.
You can use
Up to you how you wish to store it locally in the filesystem, the important thing is it needs to be somewhere accessible for step 5.
For iOS - you need to make your new file available here in some manner: For Android - you want to add a new override method to the ReactNativeHost setup here: @Override
protected String getJSBundleFile() {
return 'path to file';
} |
Thank you @liamjones , I have so I think all that I need to start a dev on it ! |
So , some news and new questions: per step: As for step 5, I do not understand what to do inside what @liamjones suggests, because I do not have those files inside a project (created by npx react-native init) : could you correct the idea within a react native project structure please ? I just have created a public project |
hi, I will study the existing project : https://github.com/shm-open/code-push-server |
Introduction
I am an Android RN app developper for non-public customers.
I used before a proprietary android dev tool (I do not want to give its name) and I appreciated a function that I would appreciate also on RN.
May be we can do it ?
I describe here what I had :
When I produced an app and released it to my customer I put in the code a test at start of the app to look for releases on my serveur. If one release of a increased version of the same app name was available, the small file I had prepared before (named upgrade) what downloaded inside the app and the app restarted in the new release version. I never used Google store. I had a proprietary API on my server that was handling the exchange.
This is in our "word" similar to METRO when we develop with RN.
Details
I would want to discuss about how and what to develop or use that exist to put inside the app and inside an API to do that feature described
The limit is : once we have build with a stack (yarn add made and build made) it is only app code on that stack that can be modified with that tool, in fact similar with the dev process but in production with a code added in the code that ask for download and upgrade)
Discussion points
thanks
The text was updated successfully, but these errors were encountered: