Open ramyodev opened 3 weeks ago
Hey @ramyodev,
This might be caused by having two different versions of the @react-native-picker/picker
library installed. The react-native-picker-select
library requires a peer dependency on @react-native-picker/picker
, and the Blinks SDK also brings it as a dependency.
Could you check your yarn.lock
(or whichever lock file you’re using)?
If you do find two versions, try resolving them to a single version and please let me know if the issue still persists.
Issue Summary
When using
react-native-picker-select
in a project that also incorporates the Blinks SDK, the application fails with an invariant violation error. This issue appears related to a conflict over the registration of theRNCPicker
view component when the Hermes JS engine is in use.Steps to Reproduce
react-native-picker-select
and Blinks SDK in a React Native project.Picker
fromreact-native-picker-select
as shown in the example below:Expected Behavior
The application should load without errors, allowing the Picker and Blinks SDK to function simultaneously.
Actual Behavior
The application throws an error upon startup:
Environment
0.74.3
react-native-picker-select
version:^9.1.3
@dialectlabs/blinks
version:^0.8.0
@dialectlabs/blinks-react-native
version:^0.2.0