opnevidu-browser: Fixed ionic iOS check

pull/540/head
csantosm 2020-07-17 15:45:56 +02:00
parent f3c5bfe321
commit dfca30ef77
1 changed files with 1 additions and 1 deletions

View File

@ -338,7 +338,7 @@ export class OpenVidu {
const userAgent = !!platform.ua ? platform.ua : navigator.userAgent; const userAgent = !!platform.ua ? platform.ua : navigator.userAgent;
if(this.isIPhoneOrIPad(userAgent)) { if(this.isIPhoneOrIPad(userAgent)) {
if(this.isIOSWithSafari(userAgent)){ if(this.isIOSWithSafari(userAgent) || platform['isIonicIos']){
return 1; return 1;
} }
return 0; return 0;