Open fabiofcferreira opened 2 years ago
Hey @fabiofcferreira, this library's example app is created with Expo managed workflow. So it's supporting the Expo already. You could reference the example app here.
Maybe it's because they are moved expo-haptics
to JSI, it's not working properly with SDK 44. But this is just a thought I'll need to check the previous versions of Expo. ref: https://blog.expo.dev/expo-sdk-45-f4e332954a68
Describe the bug Upon following the instructions in this package's README and also the dependencies instructions, I've come up to this error:
To Reproduce Steps to reproduce the behavior:
yarn add react-native-hold-menu
npx expo install react-native-reanimated
expo install react-native-gesture-handler
npx expo install expo-blur
npx expo install expo-haptics
Expected behavior Hold menu working
Actual behavior App doesn't run with the following error being displayed:
TypeError: (0, _expoModulesCore.requireNativeModule) is not a function. (In '(0, _expoModulesCore.requireNativeModule)
.Screenshots
Package versions
Additional context From my understanding, this could be an issue with expo-modules-core not supporting expo managed apps yet - hence the API documentation for setup not being valid.
However, if that is true this package could have a more clear description of what's going on with the expo compability. It says it's compatible but it's not clear if it supports bare, managed or both types of apps.