From d685f64109eabbdbcb74449088ad5276a21c5e43 Mon Sep 17 00:00:00 2001 From: Tiago Jacobs Date: Wed, 16 Feb 2022 00:01:25 -0300 Subject: [PATCH] Improve security disabling NSAllowsArbitraryLoads --- App.tsx | 2 +- ios/BigBlueButton/Info.plist | 7 ++----- ios/Podfile.lock | 10 ++++++++-- 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/App.tsx b/App.tsx index d9c8c51..6918632 100644 --- a/App.tsx +++ b/App.tsx @@ -8,7 +8,7 @@ export default function App() { diff --git a/ios/BigBlueButton/Info.plist b/ios/BigBlueButton/Info.plist index 066119a..07cad1d 100644 --- a/ios/BigBlueButton/Info.plist +++ b/ios/BigBlueButton/Info.plist @@ -28,11 +28,8 @@ NSExceptionDomains - localhost - - NSExceptionAllowsInsecureHTTPLoads - - + NSAllowsArbitraryLoads + NSLocationWhenInUseUsageDescription diff --git a/ios/Podfile.lock b/ios/Podfile.lock index 44e9328..59c3b81 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -1,5 +1,5 @@ PODS: - - bigbluebutton-mobile-sdk (0.1.5): + - bigbluebutton-mobile-sdk (0.1.6): - React-Core - WebRTC-lib - boost (1.76.0) @@ -212,6 +212,8 @@ PODS: - React-jsinspector (0.67.2) - React-logger (0.67.2): - glog + - react-native-webview (11.17.2): + - React-Core - React-perflogger (0.67.2) - React-RCTActionSheet (0.67.2): - React-Core/RCTActionSheetHeaders (= 0.67.2) @@ -301,6 +303,7 @@ DEPENDENCIES: - React-jsiexecutor (from `../node_modules/react-native/ReactCommon/jsiexecutor`) - React-jsinspector (from `../node_modules/react-native/ReactCommon/jsinspector`) - React-logger (from `../node_modules/react-native/ReactCommon/logger`) + - react-native-webview (from `../node_modules/react-native-webview`) - React-perflogger (from `../node_modules/react-native/ReactCommon/reactperflogger`) - React-RCTActionSheet (from `../node_modules/react-native/Libraries/ActionSheetIOS`) - React-RCTAnimation (from `../node_modules/react-native/Libraries/NativeAnimation`) @@ -357,6 +360,8 @@ EXTERNAL SOURCES: :path: "../node_modules/react-native/ReactCommon/jsinspector" React-logger: :path: "../node_modules/react-native/ReactCommon/logger" + react-native-webview: + :path: "../node_modules/react-native-webview" React-perflogger: :path: "../node_modules/react-native/ReactCommon/reactperflogger" React-RCTActionSheet: @@ -385,7 +390,7 @@ EXTERNAL SOURCES: :path: "../node_modules/react-native/ReactCommon/yoga" SPEC CHECKSUMS: - bigbluebutton-mobile-sdk: 459f4487b705e4e8e6bc848830f879a502ab1690 + bigbluebutton-mobile-sdk: 19663f45d1ad1aa508dcd602c98454d4a268d6bc boost: a7c83b31436843459a1961bfd74b96033dc77234 DoubleConversion: 831926d9b8bf8166fd87886c4abab286c2422662 FBLazyVector: 244195e30d63d7f564c55da4410b9a24e8fbceaa @@ -404,6 +409,7 @@ SPEC CHECKSUMS: React-jsiexecutor: 52beb652bbc61201bd70cbe4f0b8edb607e8da4f React-jsinspector: 595f76eba2176ebd8817a1fffd47b84fbdab9383 React-logger: 23de8ea0f44fa00ee77e96060273225607fd4d78 + react-native-webview: 380c1a03ec94b7ed764dac8db1e7c9952d08c93a React-perflogger: 3c9bb7372493e49036f07a82c44c8cf65cbe88db React-RCTActionSheet: 052606483045a408693aa7e864410b4a052f541a React-RCTAnimation: 08d4cac13222bb1348c687a0158dfd3b577cdb63