New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@daily-co/config-plugin-rn-daily-js

Package Overview
Dependencies
Maintainers
20
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@daily-co/config-plugin-rn-daily-js

Config plugin to setup react-native-daily-js on prebuild

  • 0.0.1
  • npm
  • Socket score

Version published
Weekly downloads
404
decreased by-16.01%
Maintainers
20
Weekly downloads
 
Created
Source

@daily-co/config-plugin-rn-daily-js

Expo is an open-source framework for apps that run natively on Android, iOS, and the web. More details here.

This project is an Expo config plugin to autoconfigure react-native-daily-js when the native code is generated (npx expo prebuild).

This package cannot be used in the "Expo Go" app because it requires custom native code.

More details about how to create your own development client instead of expo go in order to use native code which are not by default included on Expo can be found here.

Versioning

Ensure you use versions that work together!

expo@daily-co/react-native-webrtc@config-plugins/react-native-webrtc@daily-co/react-native-daily-js@daily-co/config-plugin-rn-daily-js
47.x1.94.1-daily.85.0.00.36.00.0.1

Expo installation

Tested against Expo SDK 47 This package cannot be used in the "Expo Go" app because it requires custom native code.

Install the react-native-daily-js dependencies as mentioned here.

npm i @daily-co/react-native-daily-js @react-native-async-storage/async-storage@^1.15.7 react-native-background-timer@^2.3.1
npm i --save-exact @daily-co/react-native-webrtc@1.94.1-daily.8

Install Expo config plugins

npm i @config-plugins/react-native-webrtc @daily-co/config-plugin-rn-daily-js

After installing this npm package, add the config plugin to the plugins array of your app.json or app.config.js:

{
  "expo": {
    "plugins": [
      "@config-plugins/react-native-webrtc",
      "@daily-co/config-plugin-rn-daily-js",
      [
        "expo-build-properties",
        {
          "android": {
            "minSdkVersion": 24
          },
          "ios": {
            "deploymentTarget": "13.0"
          }
        }
      ]
    ]
  }
}

Next, rebuild your app as described in the "Adding custom native code" guide.

Keywords

FAQs

Package last updated on 16 Feb 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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