My app have some intro pages I want the user see before android shows the banner "Add to home screen", is it possible? or another solution maybe hide it for a while...
Thank you very much, any help very appreciated.
My app have some intro pages I want the user see before android shows the banner "Add to home screen", is it possible? or another solution maybe hide it for a while...
Thank you very much, any help very appreciated.
The browser has a global var named navigator.userAgent. It contains a string that you can do an indexOf against to see if the app is running on android, like so:
//'True' if "Android" is in the user agent
if (navigator.userAgent.indexOf('Android') != -1)
console.log('running on android')