This example demonstrates TurboModule substitutions — transparently replacing native module implementations inside a sandbox with scoped, per-origin alternatives. The app uses a split-screen layout where the host and sandbox run the same UI, but the sandbox can swap react-native-fs (iOS only), react-native-file-access, and @react-native-async-storage/async-storage for sandboxed implementations that jail file paths and scope storage per origin.
Note:
react-native-fs(v2) relies on the legacyNativeModulesbridge and does not support TurboModules / New Architecture. On AndroidNativeModules.RNFSManagerisnullso RNFS is disabled there. On iOS it still works thanks to RN's bridge interop layer. See itinance/react-native-fs#1221.
