Minimal reproduction for failed android build w/ compileSdkVersion=33 and react-native-avoid-softinput
run yarn android
if compileSdkVersion = 33 it does not build if compileSdkVersion = 31 it builds properly
Task :react-native-avoid-softinput:compileDebugKotlin FAILED Type mismatch: inferred type is Animator? but Animator was expected
in android/src/main/java/com/reactnativeavoidsoftinput/AvoidSoftInputManager.kt
override fun onAnimationEnd(animation: Animator?)
has to be replaced by
override fun onAnimationEnd(animation: Animator)
git checkout fix
yarn android