I Am creating a React Native iOS App where the JSBundle is downloaded from remote server.So far I have done the following steps:-
- Once App is started i check for the version say for example 1.0 with the remote server where the latest jsbundle is stored.
- If the version is more then i download the bundle in the background and store in local emulator/phone file system.
- When i restart the app this latest jsbundle will be loaded.
- Now my next step is once the latest jsbundle is downloaded i need to immediately refresh the app with the latest bundle.
Kindly help me on this on further details you can refer below git where something similar is done.