smart app banners not working iOS
Asked Answered
R

4

5

I have wrote this code in HomePage of my website, I am using iOS 6.1.3 in my iPhone 4s when i access my website in safari initially a banner with loading appears on top of the screen then after some time (means after loading full website) banner gets disappear :(

here is the code i have written in my website,

<meta name="apple-itunes-app" content="app-id=68924633, affiliate-data=myAffiliateData, app-argument=https://itunes.apple.com/gb/app/bi/id68924637?mt=8&uo=4">

Thanks in advance.

Reisman answered 27/8, 2013 at 13:20 Comment(3)
As a guess, your app-argument probably needs to be escaped. Try removing that parameter and see if it displays correctly then.Bagnio
DO i need to write any code in my Xcode ?Reisman
You'll need code to understand the app-argument, but there's nothing in Xcode that will determine whether or not the banner itself will display.Bagnio
S
8

I had same issue, but it was because the application is only available in US and I'm developing from Colombia. So, check if you are connected to some VPN or your itunes account is from another region.

I connected my iphone with an US vpn and changed the region of my account and it worked. Hope it helps!

Spiker answered 27/8, 2013 at 19:34 Comment(1)
yes Dude you are very correct i am developing from india, and app is available only for UK. banner appears in UKReisman
F
6

This took a while to work out, but once you have dismissed the popup, it will NOT return. So if your having issues, try on a different phone. Resetting the cache or using private browsing wont help either, as its not stored in cache.

Frants answered 10/11, 2015 at 0:2 Comment(3)
Was driving myself insane trying to figure out why the banner is not showing anymore. You are 100% correct.Abamp
Is there any way to re-enable that after you have dismissed it?Dipeptide
A factory reset will re-enable the banner. Very frustrating when testing.Oza
C
2

<meta name="apple-itunes-app" content="app-id=689246337" />

should be sufficient for your needs

Colatitude answered 27/8, 2013 at 13:50 Comment(0)
F
1

Could be several reasons: - Your network connection not allowing you to access the apple's appstore, to check this, just open appstore with your phone and see whether it works or not. - Your apps is not available in the appstore of the country you're connected to, to check this, open appstore from your iphone, and then look for your apps there.

Cheers

Fabri answered 13/3, 2014 at 5:45 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.