mirror of https://github.com/OpenVidu/openvidu.git
opnevidu-browser: Fixed ionic iOS check
parent
f3c5bfe321
commit
dfca30ef77
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue