@capgo/capacitor-persistent-account
Overview
Section titled “Overview”Preserve user authentication and account data across app reinstalls and updates
Start with readAccount() and the other core methods listed below.
Platform support
Section titled “Platform support”| Platform | Support | Notes |
|---|---|---|
| iOS | Yes | Native |
| Android | Yes | Native |
| Web | No | Guard with Capacitor.getPlatform() |
Core Capabilities
Section titled “Core Capabilities”readAccount- Reads the stored account data from persistent storage.saveAccount- Saves account data to persistent storage.
Public API
Section titled “Public API”| Method | Description |
|---|---|
readAccount | Reads the stored account data from persistent storage. |
saveAccount | Saves account data to persistent storage. |
getPluginVersion | Get the native Capacitor plugin version. |
Source Of Truth
Section titled “Source Of Truth”This reference is synced from src/definitions.ts in capacitor-persistent-account.
Keep going from @capgo/capacitor-persistent-account
Section titled “Keep going from @capgo/capacitor-persistent-account”If you are using @capgo/capacitor-persistent-account to plan native plugin work, connect it with Using @capgo/capacitor-persistent-account for the native capability in Using @capgo/capacitor-persistent-account, Capgo Plugin Directory for the product workflow in Capgo Plugin Directory, Capacitor Plugins by Capgo for the implementation detail in Capacitor Plugins by Capgo, Adding or Updating Plugins for the implementation detail in Adding or Updating Plugins, and Ionic Enterprise Plugin Alternatives for the product workflow in Ionic Enterprise Plugin Alternatives.