Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 of 5 tasks
Dallas62 opened this issue Feb 2, 2025 · 2 comments · Fixed by #1186
Closed
1 of 5 tasks

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

Dallas62 opened this issue Feb 2, 2025 · 2 comments · Fixed by #1186
Labels
bug Something isn't working

Comments

@Dallas62
Copy link

Dallas62 commented Feb 2, 2025

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.

@Dallas62 Dallas62 added the bug Something isn't working label Feb 2, 2025
@Dallas62 Dallas62 changed the title Looks like Looks like not compatible with 0.77 Feb 6, 2025
@Dallas62 Dallas62 changed the title Looks like not compatible with 0.77 Looks like not compatible with 0.77 ('getViewManagers' overrides nothing) Feb 6, 2025
@VMBindraban
Copy link

I manually remove the override fun getViewManagers(reactContext: ReactApplicationContext?): MutableList<ModuleSpec>? = null line so i can continue with building. Doesn't seem to impact anything.

@Dallas62
Copy link
Author

Dallas62 commented Mar 3, 2025

Thanks @tido64 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants