| Files | Last commit | Last update |
|---|---|---|
docs(Examples): add BundleAssetRootSample Add a multi-bundle sample demonstrating the RNOH bundle asset root: three bundles (base/bizA/bizB) sharing common assets that resolve through the configured asset root (__rnohAssetRoot / __RNOH_BUNDLE_ASSET_ROOT_BY_URL__), plus an AssetProbeApp that verifies resolveAssetSource across scenarios. - RNProject: metro bundling via npm run dev:all (react-native bundle-harmony), depending on the in-repo react-native-harmony / react-native-harmony-cli packages through repo-relative file: paths - NativeProject: entry loads base/bizA/bizB from rawfile/test_packages/<bundle>/<version>/ at runtime - README documents the JS and Native build flow end to end Generated files are not committed: run npm run dev:all first to produce the bundles/assets under entry/src/main/resources/rawfile/test_packages, then build the HAP. Signed-off-by: changlp <chang_leipeng@hoperun.com> | 1 month ago | |
docs(Examples): add BundleAssetRootSample Add a multi-bundle sample demonstrating the RNOH bundle asset root: three bundles (base/bizA/bizB) sharing common assets that resolve through the configured asset root (__rnohAssetRoot / __RNOH_BUNDLE_ASSET_ROOT_BY_URL__), plus an AssetProbeApp that verifies resolveAssetSource across scenarios. - RNProject: metro bundling via npm run dev:all (react-native bundle-harmony), depending on the in-repo react-native-harmony / react-native-harmony-cli packages through repo-relative file: paths - NativeProject: entry loads base/bizA/bizB from rawfile/test_packages/<bundle>/<version>/ at runtime - README documents the JS and Native build flow end to end Generated files are not committed: run npm run dev:all first to produce the bundles/assets under entry/src/main/resources/rawfile/test_packages, then build the HAP. Signed-off-by: changlp <chang_leipeng@hoperun.com> | 1 month ago |