diff --git a/src/components/utils/DomHandler.js b/src/components/utils/DomHandler.js index 19e663b53..a86eaefdd 100755 --- a/src/components/utils/DomHandler.js +++ b/src/components/utils/DomHandler.js @@ -491,4 +491,12 @@ export default class DomHandler { } } } + + static isIOS() { + return /iPad|iPhone|iPod/.test(navigator.userAgent) && !window['MSStream']; + } + + static isAndroid() { + return /(android)/i.test(navigator.userAgent); + } }