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.62k stars 459 forks source link

Allow consumption of RCTAsyncStorage as TurboModule #965

Closed rozele closed 1 year ago

rozele commented 1 year ago

Summary

In react-native-windows, attributed C++ modules can be consumed as either a legacy native module or TurboModule. This change enables registration of RNCAsyncStorage as a TurboModule.

Test Plan

Tested this out in a react-native-windows C++ app, where instead of using the ReactPackageProvider, I register RNCAsyncStorage.h directly as a TurboModule.

AsyncStorageBot commented 1 year ago

:tada: This PR is included in version 1.18.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket: