gusparis / react-native-month-year-picker

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

TypeError: undefined is not an object (evaluating _reactNative.Appearance.getColorScheme) #17

Closed DaniyarJakupov closed 4 years ago

DaniyarJakupov commented 4 years ago

Thanks for the lib!

On iOS it throws an error: TypeError: undefined is not an object (evaluating _reactNative.Appearance.getColorScheme) Android works fine.

Screenshot 2020-06-15 at 16 43 52

Versions: "react": "16.9.0", "react-native": "0.61.5",

gusparis commented 4 years ago

You're welcome! Unfortunately, Appearance was introduced in RN 0.62.2 (https://reactnative.dev/docs/appearance). Either way, I should make a workaround for lower RN versions. Will try to make a new release today, end of my day.

DaniyarJakupov commented 4 years ago

You're welcome! Unfortunately, Appearance was introduced in RN 0.62.2 (https://reactnative.dev/docs/appearance). Either way, I should make a workaround for lower RN versions. Will try to make a new release today, end of my day.

Thanks! Any update? :)

gusparis commented 4 years ago

Hey! Sorry! Making a release to the stores right now and it's been crazy. I have the iOS fix, with some new features too, working on the Android changes to accept Dark Theme config as well (Android 10+). Will be doing a push tonight.