react-native-picker / picker

Picker is a cross-platform UI component for selecting an item from a list of options.
MIT License
1.45k stars 273 forks source link

fix: Change method of detecting the new arch #569

Closed alanjhughes closed 1 month ago

alanjhughes commented 1 month ago

The check of getReactContext().hasCatalystInstance() inside onMeasure will return true on both architectures so it needs to be changed. Replaced it with BuildConfig.IS_NEW_ARCHITECTURE_ENABLED. Also updated the example to use the latest stable RN.

Naturalclar commented 1 month ago

:tada: This PR is included in version 2.7.6 :tada:

The release is available on:

Your semantic-release bot :package::rocket: