Expand description
Copy React Native android/ + ios/ shells after scaffold.
Shells are cached under ~/.offline/cache/ by RN version; module identity
is rewritten when applying to a project.
Structs§
- React
Native Finalize Result - Result of post-scaffold React Native native setup.
Constants§
- APP_
ATTEST_ ENTITLEMENT - The App Attest environment entitlement.
productionmakes every build, including one run from Xcode, attest in Apple’s production environment, which auth-service accepts withoutoffline apps native dev-builds on.
Functions§
- add_
native_ shells - Copy cached (or freshly generated)
android/+ios/shells intotarget_dir. - finalize_
react_ native_ mesh_ app - After JS/TS template generation: add native shells and mesh-related native config.
- patch_
app_ attest_ entitlement - Give the iOS app target the App Attest entitlement: write
ios/<Module>/<Module>.entitlementsand point the target’sCODE_SIGN_ENTITLEMENTSat it (Debug and Release). Idempotent; an existing entitlements setting is left alone. Returns whether the entitlements file was written. - patch_
mesh_ native_ permissions - Add Android/iOS permissions and iOS Podfile cleanup required by mesh-sdk.
- patch_
network_ binding - Add Android NetworkBinding for unvalidated Wi‑Fi uplinks.
- rn_
module_ name - Convert a slug like
my-offline-app→MyOfflineAppfor RN native module names.