callstack / callstack/super-app-showcase
Android APK, how to load a remote MFE from host in release mode, Repack V5.1.0
- Dominant language
- TypeScript
- Stars
- 637
- Forks
- 131
- PR merge metrics
- No merged PRs in 30d
Description
I have created an APK with one remote MFE. However, while loading the remote MFE from the host, I’m encountering the following error.
Could you please suggest with repack V5.1.0, Rspack and ModuleFederationPlugin v2, how to load the remote MFE from the host in release mode ?
Error while loading MFE from host -
com.facebook.react.common.JavascriptException: Error: [ Federation Runtime ]: [ Federation Runtime ]: [ Federation Runtime ]: Failed to get manifest. #RUNTIME-003
args: {"manifestUrl":"http://localhost:9020/android/mf-manifest.json","moduleName":"mfe","hostName":"host"}
cc: @jbroma
Contributor guide
Research direction
The issue names no repository files or tests; start by reproducing the release APK loading the remote MFE from the host and inspect the reported manifest URL, http://localhost:9020/android/mf-manifest.json. Done means the remote MFE loads from the release host without the Federation Runtime RUNTIME-003 error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, react-native
- Domain
- frontend, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100