📦 deps(thirdparty): update snapshots

This commit is contained in:
ci[bot]
2026-06-14 16:02:32 +00:00
parent b4618ee9e9
commit 167b2b60dd
315 changed files with 47462 additions and 4210 deletions
@@ -88,13 +88,16 @@ const takePhoto = async () => {
return photo.webPath;
};
// Secure storage
// Secure storage: do not store auth tokens in Capacitor Preferences.
// Use a platform-backed secure storage plugin such as
// @aparajita/capacitor-secure-storage, Ionic Identity Vault, or an
// equivalent Android Keystore-backed plugin.
const saveToken = async (token: string) => {
await Preferences.set({ key: 'auth_token', value: token });
await SecureStorage.set({ key: 'auth_token', value: token });
};
const getToken = async (): Promise<string | null> => {
const { value } = await Preferences.get({ key: 'auth_token' });
const { value } = await SecureStorage.get({ key: 'auth_token' });
return value;
};
@@ -155,4 +158,4 @@ class MyPlugin : Plugin() {
import { registerPlugin } from '@capacitor/core';
const MyPlugin = registerPlugin<{ doNativeWork: (opts: { input: string }) => Promise<{ output: string }> }>('MyPlugin');
const result = await MyPlugin.doNativeWork({ input: 'hello' });
```
```