@capgo/native-market 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
@@ -9,6 +9,17 @@
9
9
 
10
10
  Capacitor community plugin for native market for Play Store/App Store.
11
11
 
12
+ ## Why Native Market?
13
+
14
+ Deep-link your users directly to your app's store listing, developer page, or search results. Essential for:
15
+
16
+ - **Prompting app reviews** - Direct users to leave ratings and reviews
17
+ - **Update notifications** - Send users to download the latest version
18
+ - **Cross-promotion** - Link to your other apps or developer page
19
+ - **Search visibility** - Open store searches for specific terms
20
+
21
+ Simple, focused plugin that handles all the platform-specific store linking logic for you.
22
+
12
23
  ## Maintainers
13
24
 
14
25
  | Maintainer | GitHub | Social | Sponsoring Company |
@@ -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.12"
28
+ private let pluginVersion: String = "7.2.14"
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.12",
3
+ "version": "7.2.14",
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",