expoandroid-checkboxreact-native-community

Expo SDK43 "AndroidCheckBox" was not found in the UIManager


After upgrading to expo SDK 43, I am getting this error on Android:

Invariant Violation: requireNativeComponent: "AndroidCheckBox" was not found in the UIManager.

This error is located at:
    in AndroidCheckBox (created by CheckBox)
    in CheckBox
    in CheckBoxWithRef (at SimpleCheckbox.js:18)    <-- custom component
    in SimpleCheckbox (at LoginScreen.js:76)        <-- custom component

I am using "@react-native-community/checkbox": "^0.5.9", on the managed workflow.

I tried to run expo install @react-native-community/checkbox because I saw other posts solving their own "not found in the UIManager" errors this way, but it doesn't solve the issue.


Solution

  • I fixed it by replacing @react-native-community/checkbox with expo-checkbox