react-native-month-year-picker icon indicating copy to clipboard operation
react-native-month-year-picker copied to clipboard

TypeError: null is not an object (evaluating '_RNMonthPickerDialogModule.default.open')

Open auliakbarh opened this issue 3 years ago • 19 comments

I've an error when using MonthPicker from 'react-native-month-year-picker' (Android devices) I guess it's happens because the auto linking doesn't run automatically. Is there any guide to install dependencies manually on Android and iOS? Screen Shot 2020-11-30 at 11 58 48

auliakbarh avatar Nov 30 '20 04:11 auliakbarh

Hello @auliakbarh! What's your RN version?

gusparis avatar Nov 30 '20 15:11 gusparis

Hello @auliakbarh! What's your RN version?

I'm using RN 0.62.2, and using existing the native app (ios & android)

auliakbarh avatar Dec 01 '20 08:12 auliakbarh

Weird. That version already has autolinking. Did you build the app? Did you try running a gradle sync from Android Studio? Is this happening to you also on iOS?

gusparis avatar Dec 01 '20 12:12 gusparis

I'll close this due to inactivity.

gusparis avatar Dec 03 '20 21:12 gusparis

I've the same issue.

  • RN version 0.63.4
  • Expo with Bare workflow.

I've already try to link manually, but don't work as well.

augustoostapechen avatar Mar 12 '21 13:03 augustoostapechen

Hello! Thanks for using the library! I've never tested it on Expo bare workflow. I've always worked on ejected RN projects. Is this an Android only issue? or can it be reproduced on iOS too?

gusparis avatar Mar 12 '21 16:03 gusparis

I can't reproduce the error on iOS, so I don't know if this error happens only in the Android.

augustoostapechen avatar Mar 12 '21 18:03 augustoostapechen

Ok, I'll reopen it. Can you share me your android/settings.gradle and your android/app/build.gradle files?

gusparis avatar Mar 12 '21 19:03 gusparis

i have the same issue using Expo client, RN version: 0.63.2

mixermat99 avatar Mar 16 '21 13:03 mixermat99

@mixermat99 the component is not compatible with Expo, at least not with the Managed workflow. Are you using Bare? From Expo documentation page: image

gusparis avatar Mar 16 '21 13:03 gusparis

No, i'm using Managed Workflow

mixermat99 avatar Mar 16 '21 13:03 mixermat99

@mixermat99 check my edited comment. I'm sorry, but Expo won't support it.

gusparis avatar Mar 16 '21 13:03 gusparis

Ok, thanks very much

mixermat99 avatar Mar 16 '21 13:03 mixermat99

@mixermat99 sorry you can't use it! 😔

gusparis avatar Mar 16 '21 14:03 gusparis

nothing, your library for me is the best month/year picker online, is for this reason that i would use that

mixermat99 avatar Mar 16 '21 14:03 mixermat99

we have version of 0.59.4 and have this issue , is there any solution for it. library version-^1.6.4

vksgautam1 avatar Apr 28 '21 13:04 vksgautam1

i'm getting the same crash in 0.59.4, can someone help me please.

Rishabhcore7 avatar Apr 29 '21 07:04 Rishabhcore7

Hey! I was off. I recommend using RN 0.60+, there are some issues with lower versions. Either way, I'll set up a 0.59 env to check Android.

gusparis avatar Apr 29 '21 11:04 gusparis

I have the same problem using EXPO

imnotvirus avatar Sep 23 '21 20:09 imnotvirus