@config-plugins/react-native-webrtc
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -10,12 +10,11 @@ "use strict"; | ||
} | ||
if (((_a = config.ios) === null || _a === void 0 ? void 0 : _a.bitcode) === false || | ||
(((_b = config.ios) === null || _b === void 0 ? void 0 : _b.bitcode) && config.ios.bitcode !== "Debug")) { | ||
config_plugins_1.WarningAggregator.addWarningIOS("ios.bitcode", 'react-native-webrtc plugin is overwriting project bitcode settings. WebRTC requires bitcode to be disabled for "Release" builds, targeting physical iOS devices.'); | ||
if (((_a = config.ios) === null || _a === void 0 ? void 0 : _a.bitcode) != null && ((_b = config.ios) === null || _b === void 0 ? void 0 : _b.bitcode) !== false) { | ||
config_plugins_1.WarningAggregator.addWarningIOS("ios.bitcode", "react-native-webrtc plugin is overwriting project bitcode settings. WebRTC requires bitcode to be disabled for builds, targeting physical iOS devices."); | ||
} | ||
// WebRTC requires Bitcode be disabled for | ||
// production iOS builds that target devices, e.g. not simulators. | ||
// production AND development iOS builds that target devices, e.g. not simulators. | ||
// SDK +44 property | ||
config.ios.bitcode = "Debug"; | ||
config.ios.bitcode = false; | ||
return config; | ||
}; | ||
exports.withBitcodeDisabled = withBitcodeDisabled; |
{ | ||
"name": "@config-plugins/react-native-webrtc", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Config plugin to setup react-native-webrtc on prebuild", | ||
@@ -8,2 +8,7 @@ "main": "build/withWebRTC.js", | ||
"sideEffects": false, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/expo/config-plugins.git", | ||
"directory": "packages/react-native-webrtc" | ||
}, | ||
"files": [ | ||
@@ -34,3 +39,4 @@ "build", | ||
"expo-module-scripts": "^2.0.0" | ||
} | ||
}, | ||
"upstreamPackage": "react-native-webrtc" | ||
} |
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
9197
0
112