my app have two jsbundle(two react native app),code push can manager two app?
Hey @yellowChao, thank you for your question. I believe that it is not possible due to we do not have logic to handle multiple packages in bundleUrlForResourceMethod . Please let us know if you have any thoughts or considerations about this.
Hi @max-mironov
In my project, I can use CodePush to handle multiple bundles.
Each RN entrance can config its own code push [code push app Id, bundle file name].
But the CodePushHash file is the real problem....Whole project can only have one CodePushHash file(Multiple res files with same name will only keep one).
If I can config the hash file for each code push package, I think it will work.....
when i read the source code (iOS), code push update a new jsbundle file,just save a same file path,but i load another jsbundle , code push think this jsbundle already update, just load last time update jsbundel file。so yours can add logic to splite. 3q
@yellowChao, @JuanbingTeam thank you so much for referencing the issue. So I'm afraid this is not something that code push supports "out of box". Currently we are working on CodeSigning feature and I'm not sure that we can handle this and investigate properly in the nearest time. However if you have time and could manage this you could add the corresponding PR. You help here would be much appreciated.
Please let us know if you have other thoughts or considerations about this.
Hi @yellowChao, we aren't currently planning to support this. If it is something more users request we will re-open and investigate further, but right now our existing backlog won't permit it.
Reopening this @yellowChao because we are now revisiting this issue and will support it in the near future.
Hi guys,
@pniko, I was able to configure with CodePush an android brownfield app that has 2 RN apps.
Here is the repo with demo: https://github.com/sergey-akhalkov/codepush2apps
Keynotes:
.setJSBundleFile(CodePush.getJSBundleFile("CodePush/MyRNApp1/index1.android.bundle")).setJSBundleFile(CodePush.getJSBundleFile("CodePush/MyRNApp2/index2.android.bundle"))index1.js and index2.js are entry points for both RN apps.CodePush dir as parent for you RN apps dirs, the example is here . To generate update contents use commands from the codepush-commands.txt file.Summary: single CodePush package/update contents bundles for both RN apps. This approach allows to update both apps at ones and we need not reimplement CodePush core in this case. We cannot use separate deployment for each RN app due to it requires significant changes in the CodePush core. It's also important to note that rollback feature will not work correctly in this case because an update can be registered as successful when first RN app will report that it works as expected, but the second RN app in the same moment can have a critical issue.
Screencast (update welcome string _Welcome to MY RN APP 111!_ -> _Welcome to MY RN APP 111! v1_):

@yellowChao hi,i don't know whether you still need it. my soluation on the segmentfault
hope to support this soon
Any update / ETA on the official support for this feature? I have run into a use case where my RN app has a main and side-loaded bundle, and would be great to have codepush support for both.
Is this officially supported by CodePush?
I would like this feature too.
Most helpful comment
Reopening this @yellowChao because we are now revisiting this issue and will support it in the near future.