When you have a (mobile) site, and corresponding mobile apps for your site, there are meta-tags for iOS and Windows 8 to open a standard notification on the platform to tell your visitor about the app, and lead him to it in the appstore. Now, I've found some vage reference on the nets to the android version:
<meta name="google-play-app" content="app-id
But I can't find any trusted reference to it. So I'm asking the question here: Does this meta-tag work on Android?
Does this meta tag works in Android ? No.
Not sure about Microsoft Store, but with Android and iOS apps are identified by app id. You can't have multiple apps with the same app id. The name string is more superficial, it isn't used as a unique key in the app stores - it's more of a visual thing client side.
Open Google Play Console and select the App you want to change. Go to Store Listing and in Title Field enter the NEW NAME . Submit at the bottom of the page.
Does this meta tag works in Android ? No.
Can it be handled ? Yes.
iOS 6 and later, natively shows a smart banner that reminds browser user, about the mobile application. But android doesn't support this natively.
To have this banner in android browsers you can use a jquery plugin: https://github.com/jasny/jquery.smartbanner
First add this:
<meta name="google-play-app" content="app-id=com.mygood.id">
Then include smart banner:
<link rel="stylesheet" href="jquery.smartbanner.css" type="text/css" media="screen"> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js"></script> <script src="jquery.smartbanner.js"></script>
At last initialize it:
$.smartbanner({ title: 'My good title', author: 'My smart author' });
Source: http://www.dunnsolutions.com/content/application-development-blog/-/blogs/smart-app-banners-for-ios-and-android
Related: Creating an android smart app banner
You could look at adding this to your web app manifest instead. At least for Chrome and FireFox.
When adding the properties prefer_related_applications
and related_applications
along with name
and icons
you should get prompted.
Example copied from developer.google.com
:
"prefer_related_applications": true, "related_applications": [ { "platform": "play", "id": "com.google.samples.apps.iosched" } ]
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With