Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
react-native-gigascreencast-rn-lw
Advanced tools
$ npx react-native init <project-name> --version 0.61.5
$ npm install react-native-gigascreencast-rn-lw --save
$ react-native link react-native-gigascreencast-rn-lw
android/src/main/AndroidManifest.xml
then remove application android:allowBackup
or change its value to true
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<uses-permission android:name="android.permission.BLUETOOTH" />
3.2. Open android/build.gradle
then change minSdkVersion
to version 21
ios/Podfile
, change platform ios to version 10.0 as platform :ios, '10.0'
then add 2 CocoaPods libraries pod 'GoogleWebRTC', '~> 1.1'
and pod 'Socket.IO-Client-Swift', '~> 15.2.0'
ios
folder, run pod install
ios/<project name>.xcworkspace
in XCode, change target deployment to 10.0
Enable Bitcode
flag in Build Settings to No
.swift
file, XCode will show a prompt dialog to ask if you want to create Bridging header, click Yes.GigaScreencast.framework
at node_modules/react-native-gigascreencast-rn-lw/ios/
Privacy - Microphone Usage Description
with custom message to ask user microphone permission.In App.js
import GigaScreencastRn from 'react-native-gigascreencast-rn-lw';
Now you're able to use GigaScreenCastRn object.
This object include 2 methods:
start(config, onAddStream, onRemoveStream, onDataChannel)
methoddevice_
.device_iphone6s_cust001
https://screencast.gigasource.io
will be used.false
false
true
. Default: false
.(MediaStream) -> void
: a function called when onAddStream event of web rtc peer connection occur.(MediaStream) -> void
: a function called when onRemoveStream event of web rtc peer connection occur.(DataChannel) -> void
: a function called when onDataChannel event of web rtc peer occurstop()
methodreact-native run-android
react-native run-ios
FAQs
GigaScreencast React native module lightweight
The npm package react-native-gigascreencast-rn-lw receives a total of 0 weekly downloads. As such, react-native-gigascreencast-rn-lw popularity was classified as not popular.
We found that react-native-gigascreencast-rn-lw demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.