# 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 with
`npx --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; set `OFFLINE_RN_SHELL_URL` to a tarball with `android/`
and `ios/` at its root to skip `init` (for example an internal mirror).
- Patches mesh BLE permissions (Android manifest, iOS Info.plist)
- Strips legacy manual `MeshSdk` Podfile lines (mesh-sdk autolinks via `use_native_modules!`)
Used after JS/TS template generation so MCP `scaffold_project` produces runnable apps.