Skip to content

Broken on react-native 0.81.0 #238

@trickyc0d3r

Description

@trickyc0d3r

Environment

Library version: 7.0.2
OS version: MacOS M3 Max on latest macos
RN - 0.81.0

Affected platforms

  • Android
  • iOS

Current behavior

Image react-native-avoid-softinput/android/src/newarch/java/com/reactnativeavoidsoftinput/AvoidSoftInputViewManager.kt:20:9 Inherited platform declarations clash: The following declarations have the same JVM signature (receiveCommand(Landroid/view/View;Ljava/lang/String;Lcom/facebook/react/bridge/ReadableArray;)V): fun javaCompat_receiveCommand(view: ReactViewGroup, commandName: String?, args: ReadableArray?): Unit defined in com.reactnativeavoidsoftinput.AvoidSoftInputViewManager.`` fun receiveCommand(view: ReactViewGroup, commandName: String, args: ReadableArray): Unit defined in com.reactnativeavoidsoftinput.AvoidSoftInputViewManager.``

Expected behavior

All works fine an app builds

Reproduction

Easy peasy - just npx @react-native-community/cli init AvoidSoftInoutFuckedUp and try to run after all install the app

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions