Hi i want to display a banner in mobile browser to prompt user to download the app from the store (either Google play or Apple). An example is the following Example banner
For IOS i found this. It seems it works only for safari browser. Is there any way to implement it for other browsers too?
For Android i found this. It is for PWA. I tried to implement it in our website (not PWA) but nothing was displayed.
Is there any way to work in both OSes and in all latest browsers? If there isn't, how can i get the rating, latest icons and check if it is supported in the country?
Smart App Banner for iOS
In order to display the banner whenever a visitor opens your web using an iOS device (iPhone, iPod or iPad) you only need to include the following line within the head element of your HTML code:
Smart App Banner for Android
There is no native support on Android for Smart App Banners, but you can use a jQuery plugin instead.
First, download the plugin and upload to your server jquery.smartbanner.css and jquery.smartbanner.js.
Then, you need to include two fragments of code. The first one within the head element:
The second piece of code has to be included at the end of the body.