Skip to content

Looks like not compatible with 0.77 ('getViewManagers' overrides nothing) #1180

Closed
@Dallas62

Description

@Dallas62

What happened?

After upgrading to 0.77 and AsyncStorage_next_kspVersion=2.0.21-1.0.28

Got this error:

> Task :react-native-async-storage_async-storage:compileReleaseKotlin FAILED
e: /node_modules/@react-native-async-storage/async-storage/android/src/kotlinPackage/java/com/reactnativecommunity/asyncstorage/AsyncStoragePackage.kt:54:5 'getViewManagers' overrides nothing.

Looks like the definition of getViewManagers changed.
https://github.com/facebook/react-native/blob/e45883e44f2231c59107d9c45017b51453798ceb/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/BaseReactPackage.kt#L105

Version

2.1.0

What platforms are you seeing this issue on?

  • Android
  • iOS
  • macOS
  • Windows
  • web

System Information

No need IMO.

Steps to Reproduce

Upgrade to react native 0.77, setup a compatible AsyncStorage_next_kspVersion.

Try to build the app.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions