Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

URL Scheme for App which is not installed

Tags:

url

ios

iphone

ipad

Simple question, I'm developing an application that will register its own URL Scheme. I plan to launch the application using a QRCode via a person's favourite QRCode reader.

My question: if my application is not yet installed on their iPhone/iPad, what will happen? Will they be directed to the App Store to download my app? Or will it just fail?

I'm not at my Mac right now, otherwise I'd build a test app to launch a URL for an app I know is not installed. If I get back to my Mac before someone answers, I'll update the question with my results.

like image 394
ThaDon Avatar asked Mar 14 '12 19:03

ThaDon


People also ask

What is an app scheme URL?

📘 URL Schemes are an advanced configuration option used to define a non-standard link format that will only open in your app and not the device browser e.g. youruniquestring://yoursite.com/path This functionality is helpful in authentication redirect flows or for a more seamless user experience.

Where is the URL scheme of iOS apps?

Finding an App's Main URL Scheme Name First, you have to download the IPA file for the app, which requires macOS and Apple Configurator 2. When you finally find the IPA, you have to turn it into a ZIP file, show the contents of the app package, then hunt for the specific PLIST file that contains the scheme names.

What are the various types of URL schemes?

There are two types of URL: Absolute URL. Relative URL.


1 Answers

If you link directly to your app scheme, it will fail. However, if you link to a page on a website with the code available on this StackOverFlow question, it will attempt to open your app, then the app store if it fails.

like image 148
Ali Hamze Avatar answered Oct 04 '22 20:10

Ali Hamze