- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I need to know what's the URI scheme for iOS apps built with the XDK. This is to perform some deep linking and installed app detection. For Android all whats needed is the package name but for iOS it apparently is the app name, like this: "appname://", however since it is not something we have access to, may be you know how is that being set for iOS XDK app builds.
Thank you, your help will be appreciated.
Alfredo.
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Alfredo,
If this is still something you are looking to do, you can include the Custom-URL-Scheme plugin (https://github.com/EddyVerbruggen/Custom-URL-scheme) and set up a custom launch URI with that. The Cordova XDK build (unlike the legacy build) does not provide a URI scheme by default so you will need include it in a plugin so that the proper keys get included into your Info.plist file on iOS. If you are comfortable setting up a custom plugin and don't want the overhead of URL handling code of the plugin above, you can create a simple plugin with just a plugin.xml that includes the following xml so the correct keys are added into your Info.plist file on iOS. You will then be able to launch your app as yourapp://
<config-file parent="CFBundleURLTypes" target="*-Info.plist">
<array>
<dict>
<key>CFBundleURLName</key>
<string>com.yourcompany.yourapp</string>
<key>CFBundleURLSchemes</key>
<array>
<string>yourapp</string>
</array>
</dict>
</array>
</config-file>
The above is untested so give me a shout if you have any trouble with it or need any more guidance.
David

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page