diff --git a/openvidu-android/app/src/main/res/values/strings.xml b/openvidu-android/app/src/main/res/values/strings.xml index 39b2187b..84422227 100644 --- a/openvidu-android/app/src/main/res/values/strings.xml +++ b/openvidu-android/app/src/main/res/values/strings.xml @@ -1,4 +1,6 @@ + https://demos.openvidu.io/ OpenVidu Android Sample Join @@ -13,4 +15,4 @@ GIVE PERMISSIONS! CANCEL NO INTERNET CONNECTION, PLEASE CHECK YOUR CONNECTION - + \ No newline at end of file diff --git a/openvidu-ionic-cordova/src/app/app.component.ts b/openvidu-ionic-cordova/src/app/app.component.ts index 6eff4fe8..6fff5dc0 100644 --- a/openvidu-ionic-cordova/src/app/app.component.ts +++ b/openvidu-ionic-cordova/src/app/app.component.ts @@ -64,10 +64,17 @@ export class AppComponent implements OnDestroy { this.splashScreen.hide(); }); this.generateParticipantInfo(); + + // WARNING!! To make easier first steps with mobile devices, this code allows + // using the demos OpenVidu deployment when no custom deployment is provided if (this.platform.is('hybrid') && this.APPLICATION_SERVER_URL === 'http://localhost:5000/') { - // To make easier first steps with mobile devices, use demos OpenVidu deployment when no custom deployment is provided + /** + * 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. + */ this.APPLICATION_SERVER_URL = 'https://demos.openvidu.io/'; } + } @HostListener('window:beforeunload') diff --git a/openvidu-ionic/src/app/app.component.ts b/openvidu-ionic/src/app/app.component.ts index dacb33d8..0c234cae 100644 --- a/openvidu-ionic/src/app/app.component.ts +++ b/openvidu-ionic/src/app/app.component.ts @@ -61,6 +61,10 @@ export class AppComponent implements OnDestroy { // WARNING!! To make easier first steps with mobile devices, this code allows // using the demos OpenVidu deployment when no custom deployment is provided if (this.platform.is('hybrid') && this.APPLICATION_SERVER_URL === 'http://localhost:5000/') { + /** + * 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. + */ this.APPLICATION_SERVER_URL = 'https://demos.openvidu.io/'; }