openvidu-react-native: update dependencies, NGINX config and comments
This commit is contained in:
parent
266fc9020d
commit
f002113eb8
@ -6,11 +6,10 @@ import axios from 'axios';
|
||||
import { OpenViduReactNativeAdapter, OpenVidu, RTCView } from 'openvidu-react-native-adapter';
|
||||
|
||||
/**
|
||||
* It is necessary to change the APPLICATION_SERVER_URL for communicating with the server application.
|
||||
* Also you need to edit the ./android/app/src/main/res/xml/network_security_config.xml file adding your IP as a domain
|
||||
* for allowing to use the certs in an Android device.
|
||||
* WARNING: this APPLICATION_SERVER_URL is not secure and is only meant for a first quick test.
|
||||
* Anyone could access your video sessions. You should modify the APPLICATION_SERVER_URL to a custom private one.
|
||||
*/
|
||||
const APPLICATION_SERVER_URL = 'https://X.X.X.X/';
|
||||
const APPLICATION_SERVER_URL = 'https://demos.openvidu.io/';
|
||||
|
||||
type Props = {};
|
||||
export default class App extends Component<Props> {
|
||||
|
||||
@ -5,7 +5,7 @@ connection.gradle.distribution=GRADLE_DISTRIBUTION(WRAPPER)
|
||||
connection.project.dir=
|
||||
eclipse.preferences.version=1
|
||||
gradle.user.home=
|
||||
java.home=/usr/lib/jvm/jdk-11.0.9
|
||||
java.home=/usr/lib/jvm/java-11-openjdk-amd64
|
||||
jvm.arguments=
|
||||
offline.mode=false
|
||||
override.workspace.settings=true
|
||||
|
||||
@ -1,7 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<network-security-config>
|
||||
<domain-config cleartextTrafficPermitted="true">
|
||||
<!-- Insert your local IP for allowing to use the certs in an Android device -->
|
||||
|
||||
<!-- Insert your IP for allowing to use self-signed SSL certificates in your Android device -->
|
||||
<domain includeSubdomains="true">X.X.X.X</domain>
|
||||
|
||||
<domain includeSubdomains="true">localhost</domain>
|
||||
|
||||
@ -8,9 +8,6 @@ http {
|
||||
upstream server-application {
|
||||
server host.docker.internal:5000;
|
||||
}
|
||||
upstream client-application {
|
||||
server host.docker.internal:4200;
|
||||
}
|
||||
server {
|
||||
listen 443 ssl;
|
||||
ssl_certificate /etc/nginx/certs/cert.pem;
|
||||
@ -43,10 +40,5 @@ http {
|
||||
location /api/ {
|
||||
proxy_pass http://server-application;
|
||||
}
|
||||
|
||||
# Client application requests
|
||||
location / {
|
||||
proxy_pass http://client-application;
|
||||
}
|
||||
}
|
||||
}
|
||||
7000
openvidu-react-native/package-lock.json
generated
7000
openvidu-react-native/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -16,19 +16,19 @@
|
||||
"events": "3.3.0",
|
||||
"openvidu-browser": "2.22.0",
|
||||
"openvidu-react-native-adapter": "file:openvidu-react-native-adapter-2.22.0.tgz",
|
||||
"react": "18.0.0",
|
||||
"react-native": "0.69.5",
|
||||
"react": "18.1.0",
|
||||
"react-native": "0.70.1",
|
||||
"react-native-get-random-values": "1.8.0",
|
||||
"react-native-incall-manager": "3.3.0"
|
||||
"react-native-incall-manager": "4.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.14.3",
|
||||
"@babel/runtime": "7.14.0",
|
||||
"@babel/core": "7.19.1",
|
||||
"@babel/runtime": "7.19.0",
|
||||
"@react-native-community/eslint-config": "3.1.0",
|
||||
"babel-jest": "27.0.2",
|
||||
"jest": "27.0.4",
|
||||
"metro-react-native-babel-preset": "0.72.1",
|
||||
"react-test-renderer": "18.2.0"
|
||||
"babel-jest": "29.0.3",
|
||||
"jest": "29.0.3",
|
||||
"metro-react-native-babel-preset": "0.72.3",
|
||||
"react-test-renderer": "18.1.0"
|
||||
},
|
||||
"jest": {
|
||||
"preset": "react-native"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user