@capgo/native-market 7.2.12 → 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.
|
@@ -12,7 +12,7 @@ import com.getcapacitor.annotation.CapacitorPlugin;
|
|
|
12
12
|
@CapacitorPlugin(name = "NativeMarket")
|
|
13
13
|
public class NativeMarket extends Plugin {
|
|
14
14
|
|
|
15
|
-
private final String
|
|
15
|
+
private final String pluginVersion = "";
|
|
16
16
|
|
|
17
17
|
@PluginMethod
|
|
18
18
|
public void openStoreListing(PluginCall call) {
|
|
@@ -121,7 +121,7 @@ public class NativeMarket extends Plugin {
|
|
|
121
121
|
public void getPluginVersion(final PluginCall call) {
|
|
122
122
|
try {
|
|
123
123
|
final JSObject ret = new JSObject();
|
|
124
|
-
ret.put("version", this.
|
|
124
|
+
ret.put("version", this.pluginVersion);
|
|
125
125
|
call.resolve(ret);
|
|
126
126
|
} catch (final Exception e) {
|
|
127
127
|
call.reject("Could not get plugin version", e);
|
|
@@ -25,7 +25,7 @@ struct APIResult: Codable {
|
|
|
25
25
|
*/
|
|
26
26
|
@objc(NativeMarket)
|
|
27
27
|
public class NativeMarket: CAPPlugin, CAPBridgedPlugin {
|
|
28
|
-
private let
|
|
28
|
+
private let pluginVersion: String = "7.2.13"
|
|
29
29
|
public let identifier = "NativeMarketPlugin"
|
|
30
30
|
public let jsName = "NativeMarket"
|
|
31
31
|
public let pluginMethods: [CAPPluginMethod] = [
|
|
@@ -114,7 +114,7 @@ public class NativeMarket: CAPPlugin, CAPBridgedPlugin {
|
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
@objc func getPluginVersion(_ call: CAPPluginCall) {
|
|
117
|
-
call.resolve(["version": self.
|
|
117
|
+
call.resolve(["version": self.pluginVersion])
|
|
118
118
|
}
|
|
119
119
|
|
|
120
120
|
}
|