I'm making a download button to be used in a HTML page. It will download app which is published on Samsung Galaxy Store.
Using JavaScript, I want to detect if user has Samsung Galaxy Store installed. If it's installed, I will redirect user to Galaxy Store, else will redirect them to our app's website.
If we find out if it's a Samsung device using UserAgent as described here, is it safe to assume that the device will always have Samsung Galaxy Store.