gusparis / react-native-month-year-picker

React Native Month Picker component for iOS & Android
MIT License
106 stars 74 forks source link

Expo #26

Closed onebrunoo closed 4 years ago

onebrunoo commented 4 years ago

Cannot read property 'open' of undefined for MonthPicker.

gusparis commented 4 years ago

@onebrunoo you can't use this library with Expo. It states this very clearly in the docs:

But no native modules… The most limiting thing about Expo is that you can’t add in your own native modules without detaching and using ExpoKit. Continue reading the next question for a full explanation.

If you want to use anything that requires react-native link, then you need to detach your project.

Sorry! Let me know if you need anything else. Edit: I'm closing this issue.