PreferencesHuawei implements the same PreferencesPlugin interface as
@capacitor/preferences, routing calls through the Huawei JS Bridge.
Data is stored in HarmonyOS native preferences storage, which is
persistent and not subject to the periodic localStorage clears the OS
may perform on WebViews. Stored data is cleared when the app is
uninstalled.
The group from configure() maps to the native preferences store name
(default 'CapacitorStorage'), mirroring how the Android implementation
maps group -> SharedPreferences.
PreferencesHuawei implements the same PreferencesPlugin interface as @capacitor/preferences, routing calls through the Huawei JS Bridge.
Data is stored in HarmonyOS native
preferencesstorage, which is persistent and not subject to the periodic localStorage clears the OS may perform on WebViews. Stored data is cleared when the app is uninstalled.The
groupfrom configure() maps to the native preferences store name (default 'CapacitorStorage'), mirroring how the Android implementation maps group -> SharedPreferences.