Comments (5)
Thanks for getting the ball rolling @davidliu and for the pointer @8BallBomBom!
I'm going to start preparing a new build this week. I think we need 2 things here:
-
The WebRTC framework itself should have one, since we publish it on CocoaPods, and it's also consumed by Flutter for example.
-
What @8BallBomBom mentioned should work for RN apps, but in the interest of helping others we can document it too.
from react-native-webrtc.
I pushed a build last week no problem, but that was using Xcode 14, maybe that's why I didn't even get a warning.
Thanks for looking into this.
I guess it's a good time to update WebRTC and make a new build then!
from react-native-webrtc.
So I tried adding the privacy manifest file, but I'm not actually sure if it's working. Generating a privacy report ends up with an empty pdf. At the very least, XCode detects that the privacy files exist, since when none are added, it refuses to generate a report. I'll need someone to test and make sure it's not just my XCode acting weird.
To test, there's two ways, adding to react-native-webrtc or the underlying WebRTC framework:
Adding to react-native-webrtc
- Copy the privacy file into
node_modules/react-native-webrtc/ios/
- Add the following line to the podspec:
s.resource_bundles = {"react-native-webrtc" => ["ios/PrivacyInfo.xcprivacy"]}
- In your app's ios folder,
pod install
- Archive and generate privacy report.
Adding to the WebRTC framework
- Copy the privacy file, go to
node_modules/ios/Pods/JitsiWebRTC/WebRTC.xcframework
, and paste in all theios-platform/WebRTC.framework
folders. - Archive and generate privacy report.
@saghul looks like this just landed on the upstream repo: https://webrtc-review.googlesource.com/c/src/+/349440
from react-native-webrtc.
Something related has been pushed out with React Native 0.74.1 over here.
Hopefully that gets back ported a little 😅
from react-native-webrtc.
Related Issues (20)
- RN 0.73+ compatibility issue: "Property 'addEventListener' does not exist on type 'RTCPeerConnection'" HOT 12
- Video doesn't resume when MediaStreamTrack is removed and added. HOT 8
- Simulcasting not working on iOS in react-native-webrtc HOT 20
- Unable to set remote description after call accepted from remote side HOT 6
- Get Raw Audio from reat-native-webrtc tracks. HOT 7
- Crash occurred during webrtc connection HOT 21
- voice breaking when in speaker mode in android 9 HOT 6
- What is expected time for the support of webrtc in macOS HOT 7
- React Native WebRTC randomly crashes if audio track is enabled HOT 2
- New Architecture - Considerations/Discussion HOT 2
- ios: mediaDevices.enumerateDevices() only returns wide angle camera as environment facing capture device
- Unble to render screen share (track) through RTCView HOT 2
- App crashes on Android 6.0.1 (sdk 23) java.lang.NoClassDefFoundError HOT 5
- Crash in libjingle when dialing outbound audio call HOT 11
- Expo 51 event-target-shim/package.json Package subpath './index' is not defined HOT 3
- I can't get the other user audio level in react native. HOT 1
- org.webrtc.AndroidVideoDecoder.copyI420Buffer HOT 1
- Black screen problem when calling via specific operator HOT 12
- Pod install Error after installing react-native-webrtc HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-webrtc.