Skip to content
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

[windows] Add ReactPropertyBag option for DB path initialization #1087

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Apr 23, 2024

  1. [windows] Add ReactPropertyBag option for DB path initialization

    WinAppSDK apps do not support the current methods for setting / retrieving the DB path for the default storage in @react-native-async-storage/async-storage. Specifically, winrt::CoreApplication::Properties() causes a crashes on WinAppSDK.
    
    To work around this, this change adds a specific namespaced key (ReactNativeAsyncStorage.Path) to the ReactPropertyBag for apps to register the overridden DB path for WinAppSDK apps (or apps that otherwise cannot use winrt::CoreApplication::Properties()).
    rozele committed Apr 23, 2024
    Configuration menu
    Copy the full SHA
    8a08a54 View commit details
    Browse the repository at this point in the history