@capgo/capacitor-data-storage-sqlite 7.2.8 → 7.2.13
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/Package.swift +2 -2
- package/README.md +2 -2
- package/android/src/main/java/com/jeep/plugin/capacitor/capgocapacitordatastoragesqlite/CapgoCapacitorDataStorageSqlitePlugin.java +2 -2
- package/ios/Sources/CapgoCapacitorDataStorageSqlitePlugin/CapgoCapacitorDataStorageSqlite.swift +0 -6
- package/ios/Sources/CapgoCapacitorDataStorageSqlitePlugin/CapgoCapacitorDataStorageSqlitePlugin.swift +2 -2
- package/package.json +1 -1
package/Package.swift
CHANGED
|
@@ -10,8 +10,8 @@ let package = Package(
|
|
|
10
10
|
targets: ["CapgoCapacitorDataStorageSqlitePlugin"])
|
|
11
11
|
],
|
|
12
12
|
dependencies: [
|
|
13
|
-
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", from: "7.
|
|
14
|
-
.package(url: "https://github.com/zhuorantan/SQLiteCipher.git", from: "0.
|
|
13
|
+
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", from: "7.0.0"),
|
|
14
|
+
.package(url: "https://github.com/zhuorantan/SQLiteCipher.git", from: "0.0.1")
|
|
15
15
|
],
|
|
16
16
|
targets: [
|
|
17
17
|
.target(
|
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<a href="https://capgo.app/"><img src='https://raw.githubusercontent.com/Cap-go/capgo/main/assets/capgo_banner.png' alt='Capgo - Instant updates for capacitor'/></a>
|
|
2
2
|
|
|
3
3
|
<div align="center">
|
|
4
|
-
<h2><a href="https://capgo.app/?ref=
|
|
5
|
-
<h2><a href="https://capgo.app/consulting/?ref=
|
|
4
|
+
<h2><a href="https://capgo.app/?ref=plugin_data_storage_sqlite"> ➡️ Get Instant updates for your App with Capgo 🚀</a></h2>
|
|
5
|
+
<h2><a href="https://capgo.app/consulting/?ref=plugin_data_storage_sqlite"> Fix your annoying bug now, Hire a Capacitor expert 💪</a></h2>
|
|
6
6
|
</div>
|
|
7
7
|
|
|
8
8
|
<p align="center"><br><img src="https://user-images.githubusercontent.com/236501/85893648-1c92e880-b7a8-11ea-926d-95355b8175c7.png" width="128" height="128" /></p>
|
|
@@ -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
|
|
14
|
+
private final String pluginVersion = "7.2.13";
|
|
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.
|
|
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);
|
package/ios/Sources/CapgoCapacitorDataStorageSqlitePlugin/CapgoCapacitorDataStorageSqlite.swift
CHANGED
|
@@ -9,12 +9,6 @@ enum CapgoCapacitorDataStorageSqliteError: Error {
|
|
|
9
9
|
@objc public class CapgoCapacitorDataStorageSqlite: NSObject {
|
|
10
10
|
var mDb: StorageDatabaseHelper?
|
|
11
11
|
|
|
12
|
-
// MARK: - Echo
|
|
13
|
-
|
|
14
|
-
@objc public func echo(_ value: String) -> String {
|
|
15
|
-
return value
|
|
16
|
-
}
|
|
17
|
-
|
|
18
12
|
// MARK: - OpenStore
|
|
19
13
|
|
|
20
14
|
@objc func openStore(_ dbName: String, tableName: String,
|
|
@@ -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
|
|
8
|
+
private let pluginVersion: String = "7.2.13"
|
|
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.
|
|
567
|
+
call.resolve(["version": self.pluginVersion])
|
|
568
568
|
}
|
|
569
569
|
|
|
570
570
|
}
|