You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are currently in the process of integrating repack into our React Native project to facilitate collaborative work across multiple teams. Prior to finalizing this integration, we are rigorously testing to ensure that it aligns with our expectations.
I have set up a mono repo containing three React Native projects: one serving as the host and the other two as mini apps. Locally, everything functions as expected - both on Android and iOS - with the successful loading of the two mini apps into the host app.
However, the challenge arises when attempting to download the bundles from the server. Here are the commands used to generate the iOS and Android bundles:
Additionally, I am exploring the possibility of introducing versioning for these server bundles and investigating the compatibility of utilizing CodePush bundles in this context.
Note:
While app1 is loading fine, app2 never loads. Surprisingly, when attempting to load app2 using the local bundle URL (app2: 'http://localhost:9001/[name][ext]'), it loads perfectly fine.
Any assistance or guidance provided would be greatly appreciated.
Thank you.
The text was updated successfully, but these errors were encountered:
this is because there is more than one file to resolve using the resolver here. Typically you first download .container.bundle and then the app.chunk.bundle. Also please note that you don't need to include the index-android.bundle for the mini-apps as it's unused in MF setup.
when it comes to versioning, I can tell you from my experience that it's not a trivial problem to solve, you can look into this PR that introduced SDK to the super-app-showcase to help with having only 1 version to align to.
Ask your Question
Dear GitHub Community,
We are currently in the process of integrating repack into our React Native project to facilitate collaborative work across multiple teams. Prior to finalizing this integration, we are rigorously testing to ensure that it aligns with our expectations.
I have set up a mono repo containing three React Native projects: one serving as the host and the other two as mini apps. Locally, everything functions as expected - both on Android and iOS - with the successful loading of the two mini apps into the host app.
However, the challenge arises when attempting to download the bundles from the server. Here are the commands used to generate the iOS and Android bundles:
Despite uploading these bundles to Firebase Storage and attempting Firebase Hosting, both approaches have proven unsuccessful.
Below is the code snippet utilized for bundle download, with an emphasis on utilizing these server bundles exclusively in development mode:
Additionally, I am exploring the possibility of introducing versioning for these server bundles and investigating the compatibility of utilizing CodePush bundles in this context.
Note:
While app1 is loading fine, app2 never loads. Surprisingly, when attempting to load app2 using the local bundle URL (app2: 'http://localhost:9001/[name][ext]'), it loads perfectly fine.
Any assistance or guidance provided would be greatly appreciated.
Thank you.
The text was updated successfully, but these errors were encountered: