@capgo/native-market 7.2.11 → 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/README.md CHANGED
@@ -3,8 +3,8 @@
3
3
  <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>
4
4
 
5
5
  <div align="center">
6
- <h2><a href="https://capgo.app/?ref=plugin"> ➡️ Get Instant updates for your App with Capgo</a></h2>
7
- <h2><a href="https://capgo.app/consulting/?ref=plugin"> Missing a feature? We’ll build the plugin for you 💪</a></h2>
6
+ <h2><a href="https://capgo.app/?ref=plugin_native_market"> ➡️ Get Instant updates for your App with Capgo</a></h2>
7
+ <h2><a href="https://capgo.app/consulting/?ref=plugin_native_market"> Missing a feature? We’ll build the plugin for you 💪</a></h2>
8
8
  </div>
9
9
 
10
10
  Capacitor community plugin for native market for Play Store/App Store.
@@ -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 PLUGIN_VERSION = "";
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.PLUGIN_VERSION);
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 PLUGIN_VERSION: String = "7.2.11"
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.PLUGIN_VERSION])
117
+ call.resolve(["version": self.pluginVersion])
118
118
  }
119
119
 
120
120
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/native-market",
3
- "version": "7.2.11",
3
+ "version": "7.2.13",
4
4
  "description": "A native market plugin for linking to google play or app store.",
5
5
  "module": "dist/esm/index.js",
6
6
  "main": "dist/plugin.cjs.js",