react-native-async-storage / async-storage

An asynchronous, persistent, key-value storage system for React Native.
https://react-native-async-storage.github.io/async-storage/
MIT License
4.61k stars 458 forks source link

chore(default-storage): Bump versions #1094

Closed krizzu closed 3 weeks ago

krizzu commented 1 month ago

Summary

Bumped native dependencies:

krizzu commented 1 month ago

@tido64 due to macOS failing with:

/Users/runner/work/async-storage/async-storage/packages/default-storage/example/macos/Pods/boost/boost/container_hash/hash.hpp:131:33: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'? struct hash_base : std::unary_function<T, std::size_t> {};


** BUILD FAILED **

I bumped test-app to latest 3.7.0, but now I cannot get it to run due to

05-07 15:02:45.407 10198 10198 E AndroidRuntime: java.lang.ExceptionInInitializerError 05-07 15:02:45.407 10198 10198 E AndroidRuntime: at com.microsoft.reacttestapp.TestApp.onCreate(TestApp.kt:34)

// omitted for brevity

05-07 15:02:45.407 10198 10198 E AndroidRuntime: Caused by: java.lang.IllegalStateException: SoLoader.init() not yet called

05-07 15:02:45.407 10198 10198 E AndroidRuntime: at com.facebook.soloader.SoLoader.assertInitialized(SoLoader.java:1172)

// omitted for brevity

05-07 15:02:45.407 10198 10198 E AndroidRuntime: at com.facebook.react.defaults.DefaultNewArchitectureEntryPoint.load$default(DefaultNewArchitectureEntryPoint.kt:27)

05-07 15:02:45.407 10198 10198 E AndroidRuntime: at com.microsoft.reacttestapp.compat.ReactNativeHostCompat.(ReactNativeHostCompat.kt:15)

Do you have any idea about this one?

tido64 commented 1 month ago

Do you have any idea about this one?

It's a bug 😛: https://github.com/microsoft/react-native-test-app/pull/2024

For iOS/macOS, you will want to wait for this one as well: https://github.com/microsoft/react-native-test-app/pull/2023

krizzu commented 1 month ago

@tido64 I bumped to latest test-app, but macOS still fails when compiling headers, do you mind having a look here?

error: 'atomic' attribute on property 'clipsToBounds' does not match the property inherited from 'NSView'

tido64 commented 1 month ago

@tido64 I bumped to latest test-app, but macOS still fails when compiling headers, do you mind having a look here?

error: 'atomic' attribute on property 'clipsToBounds' does not match the property inherited from 'NSView'

We probably need to bumpreact-native-macos. This looks like the sort of error you'd get when the SDK changes. I'll try taking a look later this week some time.

VMBindraban commented 2 weeks ago

Any ETA for this release?