Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@config-plugins/react-native-webrtc

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@config-plugins/react-native-webrtc - npm Package Compare versions

Comparing version 1.0.1 to 2.0.0

23

build/withBitcodeDisabled.js

@@ -6,13 +6,16 @@ "use strict";

const withBitcodeDisabled = (config) => {
return config_plugins_1.withXcodeProject(config, (config) => {
// @ts-ignore
if (config.ios.bitcode === true || 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.');
}
// WebRTC requires Bitcode be disabled for
// production iOS builds that target devices, e.g. not simulators.
config.modResults.addBuildProperty("ENABLE_BITCODE", "NO", "Release");
return config;
});
var _a, _b;
if (!config.ios) {
config.ios = {};
}
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.');
}
// WebRTC requires Bitcode be disabled for
// production iOS builds that target devices, e.g. not simulators.
// SDK +44 property
config.ios.bitcode = "Debug";
return config;
};
exports.withBitcodeDisabled = withBitcodeDisabled;
{
"name": "@config-plugins/react-native-webrtc",
"version": "1.0.1",
"version": "2.0.0",
"description": "Config plugin to setup react-native-webrtc on prebuild",

@@ -5,0 +5,0 @@ "main": "build/withWebRTC.js",

@@ -11,2 +11,3 @@ # config-plugins/react-native-webrtc

| ------ | --------------------- | ------------------------------------- |
| 44.0.0 | 1.92.2 | 2.0.0 |
| 43.0.0 | 1.92.2 | 1.0.0 |

@@ -18,3 +19,3 @@

> Tested against Expo SDK 43
> Tested against Expo SDK 44

@@ -21,0 +22,0 @@ > This package cannot be used in the "Expo Go" app because [it requires custom native code](https://docs.expo.io/workflow/customizing/).

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc