@virex-tech/paywallo-sdk 2.2.3 → 2.2.4

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.
@@ -212,6 +212,11 @@
212
212
  decisionHandler(WKNavigationActionPolicyAllow);
213
213
  }
214
214
 
215
+ - (void)dealloc
216
+ {
217
+ [_webView.configuration.userContentController removeScriptMessageHandlerForName:@"ReactNativeWebView"];
218
+ }
219
+
215
220
  - (void)layoutSubviews
216
221
  {
217
222
  [super layoutSubviews];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@virex-tech/paywallo-sdk",
3
- "version": "2.2.3",
3
+ "version": "2.2.4",
4
4
  "description": "SDK React Native para integração com Paywallo - Paywalls, Subscriptions e Analytics",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -68,7 +68,8 @@
68
68
  "@react-native-firebase/app": "^22.0.0",
69
69
  "expo-tracking-transparency": "*",
70
70
  "react": "*",
71
- "react-native": "*"
71
+ "react-native": "*",
72
+ "react-native-haptic-feedback": "*"
72
73
  },
73
74
  "peerDependenciesMeta": {
74
75
  "@react-native-firebase/app": {
@@ -76,6 +77,9 @@
76
77
  },
77
78
  "expo-tracking-transparency": {
78
79
  "optional": true
80
+ },
81
+ "react-native-haptic-feedback": {
82
+ "optional": true
79
83
  }
80
84
  },
81
85
  "devDependencies": {