offline-rn-shell
Shared React Native native shell setup for offline-cli and offline-mcp:
- Caches and copies
android/+ios/from a pinned React Native version. The shell is generated on a cache miss withnpx --yes @react-native-community/cli@20.1.0 init --version 0.85.2(the CLI version React Native 0.85.2's own template uses). No prebuilt shell is published; setOFFLINE_RN_SHELL_URLto a tarball withandroid/andios/at its root to skipinit(for example an internal mirror). - Patches mesh BLE permissions (Android manifest, iOS Info.plist)
- Strips legacy manual
MeshSdkPodfile lines (mesh-sdk autolinks viause_native_modules!)
Used after JS/TS template generation so MCP scaffold_project produces runnable apps.