Reputation: 529
So about a year ago I implemented the smart banner for a ios app on a mobile website. It worked fine until I saw earlier today that it is empty.
I looked at the id in the meta tag. But it is correct.
Screenshot:
<meta name="apple-itunes-app" content="app-id=[ID]">
Can't find it myself, so help would be appreciated
iOS 9+ iPhone 5+
all the same effect (see screenshot)
Thanks !
Upvotes: 4
Views: 2580
Reputation: 711
I got this working by only using the numeric part of the App Store id:
<meta name="apple-itunes-app" content="app-id=698632628">
Upvotes: 2
Reputation: 949
As stated in the documentation:
Banners won’t appear in the iOS Simulator.
Your tag looks fine. If you test it on an actual device the banner should display properly.
The reason for this is probably that the banner has to pull the information from the app store (including whether the app is installed on the device), which is not present on the simulator.
If the banner does not properly display on an actual device the reason could be that the associated service of apple is currently not available as mentioned in the following post: Smart App Banner showing as blank, gray bar
Upvotes: 0