Hi there. I am developing the web-application with JavaScript. And I would like to add a button leads to the Galaxy Store only for Samsung device users (or Google Play Market for not Samsung users). How can I detect from browser that user is running it from Samsung device? I was trying do it by window.navigator.userAgent, but noticed that it doesn’t show correctly model of device. For example, for my Samsung Galaxy s24+ i see:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Mobile Safari/537.36
So the question is: How can I detect Samsung user in my Web Application? via JavaScript