
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
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
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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.