rili-live / react-native-phone-input

Phone input box for React Native
https://www.npmjs.com/package/react-native-phone-input
MIT License
42 stars 54 forks source link

Invariant Violation: requireNativeComponent: "RNCAndroidDialogPicker" was not found in the UIManager #56

Closed janusqa closed 10 months ago

janusqa commented 10 months ago

Using the managed workflow expo sdk 49

The phone input creates this error when clicking on the flag. How can I resolve it?

janusqa commented 10 months ago

Resolved this issue 1) When using expo go there is no issue as expo go seems to have this installed by default, that is @react-native-picker/picker 2) If using a dev build, it does not, so I needed to install it manually "npx expo install "@react-native-picker/picker", rebuild the project and that worked.