react-native-prizor-sdk-module 3.6.2 → 3.6.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.
Files changed (2) hide show
  1. package/README.md +18 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -10,6 +10,8 @@ npm install react-native-prizor-sdk-module
10
10
 
11
11
  ### iOS
12
12
 
13
+ XCode 14+ is recommended.
14
+
13
15
  Open `ios/Podfile` and fill the requirements above:
14
16
 
15
17
  - Check to use frameworks
@@ -44,14 +46,26 @@ Add `NSAllowsLocalNetworking` as `true` at `Info.plist`:
44
46
  </dict>
45
47
  ```
46
48
 
47
- Remove `NSAllowsArbitraryLoads` and `NSExceptionDomains` from `Info.plist`:
49
+ Add `NSAllowsArbitraryLoads`, `NSAllowsArbitraryLoadsInWebContent` and `io.flutter.embedded_views_preview` as `true` at `Info.plist`:
50
+
51
+ ```xml
52
+ <key>io.flutter.embedded_views_preview</key>
53
+ <true/>
54
+ <key>NSAppTransportSecurity</key>
55
+ <dict>
56
+ <key>NSAllowsArbitraryLoads</key>
57
+ <true/>
58
+ <key>NSAllowsArbitraryLoadsInWebContent</key>
59
+ <true/>
60
+ </dict>
61
+ ```
62
+
63
+ Remove `NSExceptionDomains` from `Info.plist`:
48
64
 
49
65
  ```xml
50
66
  <key>NSAppTransportSecurity</key>
51
67
  <dict>
52
- <!-- <key>NSAllowsArbitraryLoads</key>
53
- <false/>
54
- <key>NSExceptionDomains</key>
68
+ <!-- <key>NSExceptionDomains</key>
55
69
  <dict>
56
70
  <key>localhost</key>
57
71
  <dict>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-prizor-sdk-module",
3
- "version": "3.6.2",
3
+ "version": "3.6.4",
4
4
  "description": "iOS and Android native integration for Prizor SDK",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",