@capgo/capacitor-persistent-uuid 8.1.4 → 8.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +18 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,13 +1,27 @@
|
|
|
1
1
|
# @capgo/capacitor-persistent-uuid
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Get a stable app-scoped UUID in your Capacitor app that survives reinstalls and store updates, without device identifiers or extra permissions.
|
|
4
|
+
|
|
5
|
+
<a href="https://capgo.app/?ref=plugin_persistent_uuid"><img src="https://capgo.app/readme-banner.svg?repo=Cap-go/capacitor-persistent-uuid" alt="Capgo - Instant updates for Capacitor" /></a>
|
|
4
6
|
|
|
5
7
|
<div align="center">
|
|
6
|
-
<
|
|
7
|
-
<h2><a href="https://capgo.app/
|
|
8
|
+
<p><b>Capgo</b>: open-source live updates for Ionic and Capacitor apps. Ship OTA fixes and features instantly, without waiting for app store review.</p>
|
|
9
|
+
<h2><a href="https://capgo.app/register/?ref=plugin_persistent_uuid">➡️ Get started for free</a></h2>
|
|
10
|
+
<p>14-day unlimited free trial. No credit card required</p>
|
|
11
|
+
<p><a href="https://capgo.app/consulting/?ref=plugin_persistent_uuid">Missing a feature? We'll build the plugin for you 💪</a></p>
|
|
8
12
|
</div>
|
|
9
13
|
|
|
10
|
-
|
|
14
|
+
<p align="center">
|
|
15
|
+
<img src="https://raw.githubusercontent.com/Cap-go/capacitor-persistent-uuid/main/assets/github-social-preview.png" alt="@capgo/capacitor-persistent-uuid for Capacitor apps" width="300" />
|
|
16
|
+
</p>
|
|
17
|
+
|
|
18
|
+
## Key features
|
|
19
|
+
|
|
20
|
+
- **Stable ID**: `getId()` returns the UUID, creating one on first use.
|
|
21
|
+
- **Reset**: `resetId()` replaces the stored UUID.
|
|
22
|
+
- **Scopes**: pass a custom `scope` to keep one ID across debug and production builds.
|
|
23
|
+
- **Native persistence**: Keychain on iOS and `AccountManager` on Android.
|
|
24
|
+
- **Platforms**: iOS, Android and Web. Web stores the ID in `localStorage`.
|
|
11
25
|
|
|
12
26
|
## Documentation
|
|
13
27
|
|
package/package.json
CHANGED