Open gpsolarco opened 3 years ago
Hi! Just built an empty project with expo version 42.0.1 and everything works :)
https://github.com/mxck/react-native-menu-expo-42
The project does not use react-native-reanimated.
Are you sure the problem is in the menu? Try running the project with chrome debugger?
check the package import
import { Menu, MenuItem, MenuDivider } from 'react-native-material-menu';
The UI fails to start when I use v2.0.0.0 with Expo SDK 42. Version 1.2.0 works fine (except the known issue of menu not hiding). It's giving the following error:
Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.
NOTE: react-native-reanimated has been downgraded from default 2.2.0 to 1.13.1 due to https://github.com/react-navigation/react-navigation/issues/9665. Hope that's not what could cause this to happen.