@capgo/capacitor-data-storage-sqlite 7.2.12 → 7.2.14

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 CHANGED
@@ -22,6 +22,18 @@
22
22
  <p align="center">
23
23
  Capacitor Data Storage SQlite Plugin is a custom Native Capacitor plugin providing a key-value permanent store for simple data of <strong>type string only</strong> to SQLite on IOS, Android and Electron platforms and to IndexDB for the Web platform.</p>
24
24
 
25
+ ## Why Data Storage SQLite?
26
+
27
+ A maintained, community-driven plugin providing simple key-value storage backed by SQLite. Originally created by @jepiqueau and now maintained by Capgo:
28
+
29
+ - **Simple API** - Easy key-value storage interface for string data
30
+ - **Cross-platform** - Works on iOS, Android, Electron, and Web (IndexedDB)
31
+ - **SQLite backing** - Reliable, encrypted storage on native platforms
32
+ - **Import/Export** - JSON import/export for data migration
33
+ - **Multi-table support** - Organize data across multiple tables
34
+
35
+ Perfect for apps needing simple, reliable local storage without complex SQL queries.
36
+
25
37
  <p align="center">
26
38
  <img src="https://img.shields.io/maintenance/yes/2024?style=flat-square" />
27
39
  <a href="https://github.com/Cap-go/capacitor-data-storage-sqlite/actions?query=workflow%3A%22CI%22"><img src="https://img.shields.io/github/workflow/status/Cap-go/capacitor-data-storage-sqlite/CI?style=flat-square" /></a>
@@ -11,7 +11,7 @@ import com.getcapacitor.annotation.CapacitorPlugin;
11
11
  @CapacitorPlugin(name = "CapgoCapacitorDataStorageSqlite")
12
12
  public class CapgoCapacitorDataStorageSqlitePlugin extends Plugin {
13
13
 
14
- private final String PLUGIN_VERSION = "7.2.12";
14
+ private final String pluginVersion = "7.2.14";
15
15
 
16
16
  private CapgoCapacitorDataStorageSqlite implementation;
17
17
  private RetHandler rHandler = new RetHandler();
@@ -436,7 +436,7 @@ public class CapgoCapacitorDataStorageSqlitePlugin extends Plugin {
436
436
  public void getPluginVersion(final PluginCall call) {
437
437
  try {
438
438
  final JSObject ret = new JSObject();
439
- ret.put("version", this.PLUGIN_VERSION);
439
+ ret.put("version", this.pluginVersion);
440
440
  call.resolve(ret);
441
441
  } catch (final Exception e) {
442
442
  call.reject("Could not get plugin version", e);
@@ -5,7 +5,7 @@ import Capacitor
5
5
  // swiftlint:disable type_body_length
6
6
  @objc(CapgoCapacitorDataStorageSqlitePlugin)
7
7
  public class CapgoCapacitorDataStorageSqlitePlugin: CAPPlugin, CAPBridgedPlugin {
8
- private let PLUGIN_VERSION: String = "7.2.12"
8
+ private let pluginVersion: String = "7.2.14"
9
9
  public let identifier = "CapgoCapacitorDataStorageSqlitePlugin"
10
10
  public let jsName = "CapgoCapacitorDataStorageSqlite"
11
11
  public let pluginMethods: [CAPPluginMethod] = [
@@ -564,7 +564,7 @@ public class CapgoCapacitorDataStorageSqlitePlugin: CAPPlugin, CAPBridgedPlugin
564
564
  }
565
565
 
566
566
  @objc func getPluginVersion(_ call: CAPPluginCall) {
567
- call.resolve(["version": self.PLUGIN_VERSION])
567
+ call.resolve(["version": self.pluginVersion])
568
568
  }
569
569
 
570
570
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/capacitor-data-storage-sqlite",
3
- "version": "7.2.12",
3
+ "version": "7.2.14",
4
4
  "description": "SQLite Storage of key/value strings pair",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",