@capgo/capacitor-uploader 7.3.0 → 7.3.2
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.
|
@@ -21,7 +21,7 @@ import net.gotev.uploadservice.observer.request.RequestObserverDelegate;
|
|
|
21
21
|
@CapacitorPlugin(name = "Uploader")
|
|
22
22
|
public class UploaderPlugin extends Plugin {
|
|
23
23
|
|
|
24
|
-
private final String
|
|
24
|
+
private final String pluginVersion = "7.3.2";
|
|
25
25
|
|
|
26
26
|
private Uploader implementation;
|
|
27
27
|
|
|
@@ -173,7 +173,7 @@ public class UploaderPlugin extends Plugin {
|
|
|
173
173
|
public void getPluginVersion(final PluginCall call) {
|
|
174
174
|
try {
|
|
175
175
|
final JSObject ret = new JSObject();
|
|
176
|
-
ret.put("version", this.
|
|
176
|
+
ret.put("version", this.pluginVersion);
|
|
177
177
|
call.resolve(ret);
|
|
178
178
|
} catch (final Exception e) {
|
|
179
179
|
call.reject("Could not get plugin version", e);
|
|
@@ -3,7 +3,7 @@ import Capacitor
|
|
|
3
3
|
|
|
4
4
|
@objc(UploaderPlugin)
|
|
5
5
|
public class UploaderPlugin: CAPPlugin, CAPBridgedPlugin {
|
|
6
|
-
private let
|
|
6
|
+
private let pluginVersion: String = "7.3.2"
|
|
7
7
|
public let identifier = "UploaderPlugin"
|
|
8
8
|
public let jsName = "Uploader"
|
|
9
9
|
public let pluginMethods: [CAPPluginMethod] = [
|
|
@@ -62,7 +62,7 @@ public class UploaderPlugin: CAPPlugin, CAPBridgedPlugin {
|
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
@objc func getPluginVersion(_ call: CAPPluginCall) {
|
|
65
|
-
call.resolve(["version": self.
|
|
65
|
+
call.resolve(["version": self.pluginVersion])
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
}
|