Skip to content

add support for react-native 0.79 #16

@cristianbogdan

Description

@cristianbogdan

After applying workarounds mentioned at #15 , React-native 0.76 works but testing with expo 53 (which requires react-native 0.79) fails with

TypeError: Cannot read properties of undefined (reading 'NativeReactNativeFeatureFlagsCxx')
 ❯ requireModule node_modules/react-native/Libraries/TurboModule/TurboModuleRegistry.js:45:39
 ❯ Object.get node_modules/react-native/Libraries/TurboModule/TurboModuleRegistry.js:53:10
 ❯ Object.<anonymous> node_modules/react-native/src/private/featureflags/specs/NativeReactNativeFeatureFlags.js:34:59
 ❯ Module._compile node_modules/pirates/lib/index.js:129:24
 ❯ Object.newLoader [as .js] node_modules/pirates/lib/index.js:134:7

I investigated a bit but all the react-native modules mentioned in the stacktrace seem to be identical in 0.76 and 0.79. So I guess that something else causes this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions