react-native-security-suite 0.8.9 → 0.8.11

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.
@@ -78,7 +78,7 @@ public class Sslpinning {
78
78
  String method = getMethod(options);
79
79
  RequestBody requestBody = setBody(options);
80
80
 
81
- if (!method.equals("GET") && requestBody == null) {
81
+ if ((method.equals("POST") || method.equals("PUT") || method.equals("PATCH")) && requestBody == null) {
82
82
  this.callback.invoke(null, "For " + method + " method body option is Required!");
83
83
  return;
84
84
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-security-suite",
3
- "version": "0.8.9",
3
+ "version": "0.8.11",
4
4
  "description": "Security solution for React Native",
5
5
  "source": "./src/index.tsx",
6
6
  "main": "./lib/commonjs/index.js",
@@ -11,7 +11,8 @@ Pod::Spec.new do |s|
11
11
  s.license = package["license"]
12
12
  s.authors = package["author"]
13
13
 
14
- s.platforms = { :ios => min_ios_version_supported }
14
+ # s.platforms = { :ios => min_ios_version_supported }
15
+ s.platforms = { :ios => "14.0" }
15
16
  s.source = { :git => "https://github.com/mohamadnavabi/react-native-security-suite.git", :tag => "#{s.version}" }
16
17
 
17
18
  s.source_files = "ios/**/*.{h,m,mm,swift}"