Skip to content

Next storage implementation: Build issues with RN 0.74 #1091

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
QOAL opened this issue May 3, 2024 · 3 comments
Closed
1 of 5 tasks

Next storage implementation: Build issues with RN 0.74 #1091

QOAL opened this issue May 3, 2024 · 3 comments
Labels
bug Something isn't working Stale

Comments

@QOAL
Copy link

QOAL commented May 3, 2024

What happened?

With React Native 0.74 updating to Kotlin 1.9.22 users using the Next storage implementation will face the following error, along with the build failing:
ksp-1.9.20-1.0.14 is too old for kotlin-1.9.22. Please upgrade ksp or downgrade kotlin-gradle-plugin to 1.9.20.

Updating gradle.properties with the following mitigates the issue:
AsyncStorage_useNextStorage=true AsyncStorage_kotlinVersion=1.9.22 AsyncStorage_next_kspVersion=1.9.22-1.0.17

I haven't tried any of the newer Room versions.

It looks like async-storage/packages/default-storage/android/config.gradle, and the documentation just needs updating, but this is not my area of expertise.

Version

1.23.1

What platforms are you seeing this issue on?

  • Android
  • iOS
  • macOS
  • Windows
  • web

System Information

System:
  OS: Windows 10 10.0.19045
  CPU: (4) x64 Intel(R) Core(TM) i5-4690K CPU @ 3.50GHz
  Memory: 5.58 GB / 15.87 GB
Binaries:
  Node:
    version: 21.7.3
    path: C:\Program Files\nodejs\node.EXE
  Yarn:
    version: 3.6.4
    path: ~\AppData\Roaming\npm\yarn.CMD
  npm:
    version: 10.2.0
    path: C:\Program Files\nodejs\npm.CMD
  Watchman: Not Found
SDKs:
  Android SDK: Not Found
  Windows SDK:
    AllowDevelopmentWithoutDevLicense: Enabled
    AllowAllTrustedApps: Enabled
IDEs:
  Android Studio: AI-221.6008.13.2211.9619390
  Visual Studio: Not Found
Languages:
  Java: 17.0.10
  Ruby: Not Found
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.2.0
    wanted: 18.2.0
  react-native:
    installed: 0.74.1
    wanted: 0.74.1
  react-native-windows: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: false
iOS:
  hermesEnabled: Not found
  newArchEnabled: Not found

Steps to Reproduce

See above.

@QOAL QOAL added the bug Something isn't working label May 3, 2024
@krizzu
Copy link
Member

krizzu commented May 7, 2024

Hey, thanks for reporting, see here: #1094

@algarcia-vector

This comment has been minimized.

Copy link

github-actions bot commented Jul 9, 2024

This issue has been marked as stale due to inactivity. Please respond or otherwise resolve the issue within 7 days or it will be closed.

@github-actions github-actions bot added the Stale label Jul 9, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Stale
Projects
None yet
Development

No branches or pull requests

3 participants