Can an app be installed from a link within an SMS? - ios

Is it possible to launch the app store directly on the device and seed it with an application name, or to launch safari with a link to the app store, from a link within an SMS?
I've been experimenting with putting links such as this into an SMS:
itml://itunes/com/app
or
http://itunes.apple.com/us/app/angry-birds/id343200656?mt=8
But I get cannot connect to app store error messages when you click on the link.

Try to use
itms-apps://itunes.apple.com/us/app/angry-birds/id343200656?mt=8

You can also configure this with the following 2 apps.
http://linksense.io incase your app is multiplatform.
As well, there's http://linktexting.com
If you don't have the engineering resources, these will be useful.

Related

Appstore Preview link display connecting on browser

While opening the iOS app store link in a browser I am redirected to the mac app store app and the browser displayed only connecting text instead of displaying application information. It would be beneficial if anyone could guide me on this, and where I can make the change.
Note: The app is available on the app store and the app store account also is working
I found the issue that the Support Destination Option (Mac) was missing in the Xcode that's why the information of the app was not displayed in the browser.

Firebase dynamicLinks: Do i need an app on the store for my link to work correctly?

I created a dynamic link on firebase dynamics like in their tutorial here
https://firebase.google.com/docs/dynamic-links/ios/receive
using an app ID (WhatsApp) which is not mine because not yet on App Store.
When i click on it (in Notes or Mail), it goes to Safari and ask if i want to open WhatsApp in AppStore.
When i come back to my app, i don't receive any link.
Do i need to publish my app to the appstore before it works?
You do not need to publish your App in AppStore in order to test the Firebase Dynamic Links.
Did you followed steps here https://firebase.google.com/docs/dynamic-links/ios/receive regarding Set up Firebase and the Dynamic Links SDK and Open Dynamic Links in your app?
Is your App receiving any link in UIApplicationDelegate's openURL: method? Can you reproduce the issue with quick-start App https://github.com/firebase/quickstart-ios/tree/master/dynamiclinks ?

Retrieving a deep link when the app isn't installed (iOS)

In the iOS docs for Google App Invites, under Receiving Invitations, it is suggested that a deep link can be retrieved on first launch if the app wasn't installed in advance:
If the user has not yet installed the app, the user can choose to
install the app from the iTunes App Store. When the app opens for the
first time, the App Invites SDK will supply a deeplink if one is
available.
I've looked through the reference docs for GINInvite and GINReceivedInvite but I don't see any way to instantiate GINReceivedInvite outside of an application openURL call. Anybody know how to actually have the SDK retrieve the deep link in this scenario?
What you are trying I will say is not the correct way. You have to check in Safari web browser if app is install or not. If not navigate to App store
You can find your solution in here How to check if an app is installed from a web-page on an iPhone?

swift open link in safari/app store

I have a simple iOS app and I'm in the process of developing a pro version of the app. I will then add a hyperlink to the existing app that will point to the url of the pro app in the app store. So is there any recommended way to do this so when the user taps the link, they will be forwarded to the pro app's page on the app store?
Will the user be redirected to the app store if I simply use this piece of code?
UIApplication.sharedApplication().openURL("http://itunes.apple.com/myappname")
As Far As I know, there's no longer
itms-apps://
instead of the regular http://
so the best way is to use this line of code, watch that I've put it in NSURL because you can't past a simple String. Other than that you can use ! at the end or better way is to use IF LET ...
UIApplication.sharedApplication().openURL(NSURL(string: "https://itunes.apple.com/us/app/24-s-wt-h-plyqzyh-hyhydh-smqry/id897282272?ls=1&mt=8")!)
UIApplication.sharedApplication().openURL(NSURL(string : "itms-apps://itunes.apple.com/app/developerName")!)
With this one I couldn't open my app page on the App Store then I went to my iTunes page on Safari, copied my home page uri and pasted it to related code. And it works perfect!
Just copy your iTunes page on the internet and paste it!

How do Apple detect if an iphone app is installed when clicking on a pure html link?

I am trying to detect if my ipad app is installed on a device when visiting my website, in order to suggest different action to the visitor.
Thanks to this post :
https://stackoverflow.com/a/8310348/1128754
I found that the "store" application on iphone seems to have achieve to detect if the app is installed on the device. When you click on store links, it launch the app instead of going to the mobile web version.
For example, if you go to :
http://store.apple.com/xc/anythinghere
with an iphone on which apple store app is installed ( http://itunes.apple.com/app/id375380948 )
it automatically start the store app, instead of the web page.
I tried to follow the stack call with mitmproxy but safari doesn't seems to ask query before launching the app.
So, I guess they did custom url scheme recognition, with http:// links.
Do you think it is possible?
This is done with URL protocol handlers:
http://www.iphonedevfaq.com/index.php?title=URL_schemes#URL_Protocol_Handlers
You cannot detect if an app is installed from HTML, but you can launch an app. For example, the popular game "Doodle Jump" can be launched by going to doodlejump://, but if you don't have it installed, the link won't work. As mentioned, this is done with a custom URL scheme and needs to be coded into your app.

Resources