Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing when using with latest React Native (0.75.2) #36

Open
cstayyab opened this issue Aug 29, 2024 · 4 comments
Open

Failing when using with latest React Native (0.75.2) #36

cstayyab opened this issue Aug 29, 2024 · 4 comments

Comments

@cstayyab
Copy link

cstayyab commented Aug 29, 2024

Error

Cannot read property 'bubblingEventTypes' of null

Steps:

  1. Create new React native repo with version 0.75.2
  2. Add react-native-hole-view dependency (alpha4)
  3. Used RNHoleView in existing App.tsx
  4. Run on Android Device (Only tested with physical Android 13 device)

Sample Repo: https://github.com/cstayyab/rnhv75sample

@dcorbin
Copy link

dcorbin commented Sep 4, 2024

Where using the "new architecture" ?

@jhon-gomez-endava
Copy link

jhon-gomez-endava commented Sep 19, 2024

Hi, any updates, I'm with the same issue

@durango
Copy link

durango commented Sep 26, 2024

This issue persist even when newArchitecture is disabled. This solution may work for you:

  1. npm i react-native-reanimated react-native-screens react-native-safe-area-context
  2. Add {..., plugins: ['react-native-reanimated/plugin']} to the babel.config.js file
  3. npx pod-install (or cd ios && pod install)
  4. npm run ios

There is most likely a version mismatch somewhere within the dependencies. Here are my versions:

    "react-native-reanimated": "^3.15.3",
    "react-native-safe-area-context": "^4.11.0",
    "react-native-screens": "^3.34.0",

If the above does not work for you, try installing react-native-gesture-handler then repeat steps 3 and 4.

@abhishekdharwal
Copy link

Was facing same issue, rebuild the app after installing the library, it will work fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants