Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Why react-native-v8 app will crash on sdk 47 app # How the `NativeModules` is a host object, and in react-native-v8, there are some internal data structures for a host object. after monkey patching the `NativeModules`, it is now a proxy object. from the `Reflect.get(target, prop, receiver)` call, it will use host object getter but pass the proxy object (not the original host object). the crash happens at [the react-native-v8 code here](https://github.com/Kudo/react-native-v8/blob/4821e303cf18d745d884510740a45a449afc1ec6/src/v8runtime/HostProxy.cpp#L32-L40) we don't return something else from the proxied interceptor; using `target[prop]` is enough. # Test Plan create a v8 app and patch _node_modules/expo/build/proxies/NativeModules.js_
- Loading branch information