could use a single regex

`/(ipad|iphone|ipod|android)/gi.test(navigator.userAgent)`