Apple maps can open routing apps when it can't provide a route:
I want to open a few of those apps from my app. I am aware that I have to whitelist each app that I want to open. This is not the problem.
How can I find out the url schemes of those Apps that are installed on my iPhone?
One idea is to make a backup via iTunes and at the info.plist of the app. In this plist, the url schemes should be defined with the cfbundleurlschemes key.
I think I found such an app in a backup, but I don't know how to extract the file to get the info.plist file. adding .zip and extracting doesn't work.
Other ways to get the URL scheme are also welcome, especially ways to get example parameters of the URL scheme of an app. So looking at Apple Maps how it opens a specific routing app would be nice.
Yes I know how to open Google Maps. I want to know how to open those where I can't find a documentation.
So how can I find out URL schemes of routing apps on my iPhone?
There is an answer that suggests to extract the .ipa file, but there aren't .ipa files with iOSA 11 any more.
Find app link via App Store on iOS devices Step 1: Go to the Apple App Store on your iOS device. Step 2: Search for your app and go to the app page. Step 3: Tap the Share Sheet button on the top right of the screen, then choose Copy Link.
Go to Google Play and search for your app by name. Once you find your app, click on it to be taken to the App Profile. This is where you will see your App download URL.
URL schema is used as an identifier in launching applications and performing a set of commands in iOS devices. The schema name of a URL is the first part of a URL. (e.g. schemaname:// ). For web pages, the schemas are usually http or https.
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.
This article was incredibly helpful:
https://www.amerhukic.com/finding-the-custom-url-scheme-of-an-ios-app
Basically:
Then
The way I do it. Download the app "Iconical". It's an app used to create other icons to access an app. Once installed, tap "Select App" then hit refresh and you get a list of urls of all the apps with a url Scheme set up.
If the app I want is not in the list. Than I open the iPhone console, go to the AppStore, find the app and open it from there. Then look for its bundle identifier in the iPhone console and use the last part as url scheme. Ex.: com.cie.appName. This always worked for me. Hope this helps.
UIApplication.shared.open("appName://", options: [:], completionHandler: nil)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With