Reputation: 712
Can it be done besides basic integration of code? Ideally, a RN app should be able to dynamically download the bundle of a nested app from the server. Then it should execute the bundle inside some kind of customized root in the view. It should also have a basic life cycle control over the nested app. Is it technically possible?
Upvotes: 0
Views: 577
Reputation: 159
You are probably looking for something like CodePush.
The root component of your application have to be wrapped into codePush's higher-order component:
import codePush from "react-native-code-push";
class MyApp extends Component {
}
MyApp = codePush(MyApp);
Then you can release js bundle updates any time from the cli:
code-push release-react <appName> <platform>
Upvotes: 1