@kontextso/sdk-react-native 3.2.1 → 3.2.2-rc.0

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.
@@ -16,6 +16,24 @@ class RNKontextModule(reactContext: ReactApplicationContext) :
16
16
  impl.isSoundOn(promise)
17
17
  }
18
18
 
19
+ // ---------- iOS-only: SKOverlay ----------
20
+ override fun presentSKOverlay(appStoreId: String, position: String, dismissible: Boolean, promise: Promise?) {
21
+ promise?.resolve(false)
22
+ }
23
+
24
+ override fun dismissSKOverlay(promise: Promise?) {
25
+ promise?.resolve(false)
26
+ }
27
+
28
+ // ---------- iOS-only: SKStoreProduct ----------
29
+ override fun presentSKStoreProduct(appStoreId: String, promise: Promise?) {
30
+ promise?.resolve(false)
31
+ }
32
+
33
+ override fun dismissSKStoreProduct(promise: Promise?) {
34
+ promise?.resolve(false)
35
+ }
36
+
19
37
  companion object {
20
38
  const val NAME = "RNKontext"
21
39
  }
@@ -19,6 +19,28 @@ class RNKontextModule(reactContext: ReactApplicationContext) :
19
19
  impl.isSoundOn(promise)
20
20
  }
21
21
 
22
+ // ---------- iOS-only: SKOverlay ----------
23
+ @ReactMethod
24
+ fun presentSKOverlay(appStoreId: String, position: String, dismissible: Boolean, promise: Promise?) {
25
+ promise?.resolve(false)
26
+ }
27
+
28
+ @ReactMethod
29
+ fun dismissSKOverlay(promise: Promise?) {
30
+ promise?.resolve(false)
31
+ }
32
+
33
+ // ---------- iOS-only: SKStoreProduct ----------
34
+ @ReactMethod
35
+ fun presentSKStoreProduct(appStoreId: String, promise: Promise?) {
36
+ promise?.resolve(false)
37
+ }
38
+
39
+ @ReactMethod
40
+ fun dismissSKStoreProduct(promise: Promise?) {
41
+ promise?.resolve(false)
42
+ }
43
+
22
44
  companion object {
23
45
  const val NAME = "RNKontext"
24
46
  }
package/dist/index.js CHANGED
@@ -662,7 +662,7 @@ var import_react_native5 = require("react-native");
662
662
  var import_react_native_device_info = __toESM(require("react-native-device-info"));
663
663
 
664
664
  // package.json
665
- var version = "3.2.1";
665
+ var version = "3.2.2-rc.0";
666
666
 
667
667
  // src/context/AdsProvider.tsx
668
668
  var import_jsx_runtime4 = require("react/jsx-runtime");
package/dist/index.mjs CHANGED
@@ -634,7 +634,7 @@ import { Appearance, Dimensions, PixelRatio, Platform as Platform3 } from "react
634
634
  import DeviceInfo from "react-native-device-info";
635
635
 
636
636
  // package.json
637
- var version = "3.2.1";
637
+ var version = "3.2.2-rc.0";
638
638
 
639
639
  // src/context/AdsProvider.tsx
640
640
  import { jsx as jsx4 } from "react/jsx-runtime";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kontextso/sdk-react-native",
3
- "version": "3.2.1",
3
+ "version": "3.2.2-rc.0",
4
4
  "description": "Kontext SDK for React Native",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",