Skip to content

Commit

Permalink
fix: make expo modules work
Browse files Browse the repository at this point in the history
  • Loading branch information
zetavg committed Dec 11, 2024
1 parent a41575f commit aa94db2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/vxrn/src/utils/swapPrebuiltReactModules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,12 @@ function getReactNativeInternalModuleExports(

// TODO: We can use `es-module-lexer` to parse from source code instead of hardcoding these.
const KNOWN_REACT_NATIVE_INTERNAL_MODULE_EXPORTS = {
'react-native/Libraries/NativeComponent/NativeComponentRegistry': [
'setRuntimeConfigProvider',
'get',
'getWithFallback_DEPRECATED',
'unstable_hasStaticViewConfig',
],
'react-native/Libraries/Renderer/shims/ReactNativeViewConfigRegistry': [
'customBubblingEventTypes',
'customDirectEventTypes',
Expand Down

0 comments on commit aa94db2

Please sign in to comment.