Closed ramaces closed 7 months ago
Thank you!
@ramaces could you please post your User Agent string of the platform that you're seeing this problem on? This would be a good input for updating the specs.
@ain
Edge
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36 Edg/118.0.2088.57
Chrome
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36
@ain Wanted to check in and see if we can merge this fix in. I am having this issue as well for windows touchscreen devices. Thank you so much!
Steps to reproduce:
<meta name="smartbanner:enabled-platforms" content="android,ios">
i suppose to change line 77 on smartbanner.js into
} else if (!window.MSStream && !/X11|Linux|Windows/i.test(userAgent) && maxTouchPoints && maxTouchPoints > 0 || /iPhone|iPad|iPod/i.test(userAgent)) {
What happens: smartbanner shows on windows tab device
What should happen: should only show on android and ios devices