Smart Banner not coming - ios

I have published my app on iOS Appstore. To show smart banner I use following code on my webpage.
<html>
<head>
<title>Kinjal's Games</title>
<meta name="apple-itunes-app" content="app-id=6444216110, app-clip-bundle-id=com.kinjal.brainbooster"/>
</head>
<body>
Yo
</body>
</html>
When I load webpage, it shows banner for 1 sec and then disappears immediately.
To verify, I tried by using other app's Appstore id. If I try using facebook's app id, it works.
<meta name="apple-itunes-app" content="app-id=284882215, app-clip-bundle-id=com.kinjal.brainbooster"/>
But it doesn't work only with my app id
<meta name="apple-itunes-app" content="app-id=6444216110, app-clip-bundle-id=com.kinjal.brainbooster"/>

Related

Chrome iOS numbering link

If link has number (like 20000 ) in chrome ipad opens pop-up menu and try to call on this number. I added <meta name="format-detection" content="telephone=no"> but it didn't work, menu still shows and I can't go to page
Add this meta tag to your header. If you want other links to be phone numbers, use the "tel:" prefix.
<meta name="format-detection" content="telephone=no">

FaceBook App Invite with custome URL scheme iOS

I am trying to realize App Invite feature for iOS app. All works good except custome URL Scheme with parameter (like referral).
iOS app has two URL Schemas:
fb123456789712345://
myappurlscheme://
Meta tags in web server:
<meta property="al:ios:url" content="myappurlscheme://fb_app_invite?referral=referralname" />
<meta property="al:ios:app_store_id" content="123456789" />
<meta property="al:ios:app_name" content="MyApp" />
<meta property="al:web:should_fallback" content="false" />
<meta property="fb:app_id" content="123456789712345"/>
When FB user clicks on the App Invite from their profile i'am expecting than iOS app will be open with URL(myappurlscheme://fb_app_invite?referral=referralname),
but in practice i get URL(fb123456789712345://authorize#access_token=ZXZXZXZXZXZXZXZXZXZXZX&expires_in=86400&target_url=%2Fappcenter%2$454545454545454%3Frequest_ids%3D3333333333333%26ref%3Dapp_invite_inbox%26content%3Dinvite%222222222222222222)
I dont know how to figure out to use custome URL Schema for parse referralname. Please, help me. Where i had mistaken?

Metarefresh is failing when Youtube iOS app is installed

Why is one metarefresh to YouTube failing while another is succeeding? And why does it have anything to do with whether Youtube as an app is installed?
We have two metarefresh links that take users to videos from an iOS app.
(1) This page refers properly to Youtube whether the Youtube iOS app is on your device or not:
The invoking link is: http://ourURL/videos/ourpage.html
The receiving HTML page is this:
<!doctype html>
<html>
<head>
<meta http-equiv="Refresh" content="0; url=http://youtu.be/tJ08IHetnbU" />
</head>
<body>
</body>
</html>
(2) The referral page that breaks is designed the same way but works only if the Youtube app is NOT on your iOS device. If the Youtube app is on your device, we see "Playback error. Tap to retry." "Error loading Tap to retry"
The invoking link is: http://ourURL.com/videos/ourpage2.html
<!doctype html>
<html>
<head>
<meta http-equiv="Refresh" content="0; url=http://youtu.be/0FZbh-Cqfg4" />
</head>
<body>
</body>
</html>
The answer turned out to be a caching issue in the YouTube app.
It appears the Youtube app relies on the Safari cache. The Meta-refresh had referred to different video links before - so the new updated links failed.
Interestingly, for whatever reason, Safari is not using its cache and showed the proper video.
After going to Settings, Safari and "Clear cookies and data" - the YouTube App started showing the referral pages properly again.

Facebook App Invites iOS v4 SDK error

I've double checked everything, from my understanding this is all I need to do:
self.inviteContent = [[FBSDKAppInviteContent alloc] initWithAppLinkURL:[NSURL URLWithString:#"http://mywebsite.com"]];
[FBSDKAppInviteDialog showWithContent:self.inviteContent delegate:self];
On mywebsite.com I have this in the heading (example values shown here):
<html>
<head>
<title>My Website</title>
<meta property="al:ios:url" content="appurl://action">
<meta property="al:ios:app_store_id" content="1234567">
<meta property="al:ios:app_name" content="My App">
</head>
<body>
...
</body>
</html>
So the dialog switches over the to the latest Facebook iOS app. I write a message and pick the person I want to send the invite to, hit send and I get this error:
Missing App Link URL
The app link used with this invite does not contain an Android or iOS URL. Developers are required to enter a URL for at least one platform.
What am I doing wrong?
My app handles the custom URL fine because if I enter appurl://action in Mobile Safari it opens my app up.
You need to create an AppLink URL from here/
Choose your application from the list
Fill up the form with equivalent information
Click on Next !
You're done.
Now, you can use that link with your code for invite.
self.inviteContent = [[FBSDKAppInviteContent alloc] initWithAppLinkURL:[NSURL URLWithString:APP_LINK_HERE]];
[FBSDKAppInviteDialog showWithContent:self.inviteContent delegate:self];
The format of that link will be something like https://fb.me/xxxxxxxxxxxxxxxx
All xs will be replace by a digit.
Try to add also og:title and og:type properties, it works for me
<meta property="og:title" content="My App" />
<meta property="og:type" content="website" />
Adding meta tags would solve this, this is snippet of html from app link created via FB. Fb is adding some extra meta tags on it's app link url page, and it also redirects direct to itunes if opened on a browser.
<html>
<head>
<title>app name</title>
<meta property="fb:app_id" content="your fb app id" />
<meta property="al:ios:url" content="Your app link url" />
<meta property="al:ios:app_name" content="your app name" />
<meta property="al:ios:app_store_id" content="your app id" />
<meta property="al:web:should_fallback" content="false" />
<meta http-equiv="refresh" content="0;url=https://itunes.apple.com/WebObjects/MZStore.woa/wa/redirectToContent?id=your app store id" />
</head>
<body>
Redirecting...
</body>
</html>

iOS Safari Crashes loading iframe

This page crashes (well, shuts down Safari) when loaded into Safari on iOS 7.1.x. Note that it does use an iframe. The crash only happens with some pages (like this one), I think due to the page's size (this one is relatively large). Desktop browsers display the page fine.
<!DOCTYPE html>
<html>
<head>
<title>Test</title>
<meta content="en-us" http-equiv="Content-Language">
<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body>
<div>
<iframe src="http://en.m.wikipedia.org/wiki/Lance_Armstrong"></iframe>
</div>
</body>
</html>
Fixes?

Resources