<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic IOS Deep Link in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/IOS-Deep-Link/m-p/1092270#M65707</link>
    <description>&lt;P&gt;Dear Sir/ Madam,&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;We have implemented deep linking, using our code (i.e. no plugins), within our apps using custom URLs, however we noticed that with the recent upgrade of Apple’s IOS version 10 (and more recent 10.02) the deep linking between 2 apps stopped working. Strangely enough when invoking the app via the custom URL from Safari (on IOS versions 9.3 and upwards) the link works (i.e. the app loads), which means that the required invocation permissions on the invoking app are working – i.e. the calling app seems to be the problem.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Please find below the version of INTEL XDK we are using and details about the security whitelisting which is available for both the invoking and consuming application:&lt;/P&gt;

&lt;P&gt;INTEL XDK Version: 3522&lt;/P&gt;

&lt;P&gt;Whitelisting&lt;/P&gt;

&lt;UL&gt;
	&lt;LI&gt;Network Request (&amp;lt;access&amp;gt;) is set to *&lt;/LI&gt;
	&lt;LI&gt;Intent (&amp;lt;allow-intent&amp;gt;) is&amp;nbsp;&lt;SPAN style="font-size: 13.008px;"&gt;set to *&lt;/SPAN&gt;&lt;/LI&gt;
	&lt;LI&gt;Navigation (&amp;lt;allow-navigation&amp;gt;) is&amp;nbsp;&lt;SPAN style="font-size: 13.008px;"&gt;set to *&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Mon, 26 Sep 2016 12:36:44 GMT</pubDate>
    <dc:creator>Daniel_F_7</dc:creator>
    <dc:date>2016-09-26T12:36:44Z</dc:date>
    <item>
      <title>IOS Deep Link</title>
      <link>https://community.intel.com/t5/Software-Archive/IOS-Deep-Link/m-p/1092270#M65707</link>
      <description>&lt;P&gt;Dear Sir/ Madam,&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;We have implemented deep linking, using our code (i.e. no plugins), within our apps using custom URLs, however we noticed that with the recent upgrade of Apple’s IOS version 10 (and more recent 10.02) the deep linking between 2 apps stopped working. Strangely enough when invoking the app via the custom URL from Safari (on IOS versions 9.3 and upwards) the link works (i.e. the app loads), which means that the required invocation permissions on the invoking app are working – i.e. the calling app seems to be the problem.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Please find below the version of INTEL XDK we are using and details about the security whitelisting which is available for both the invoking and consuming application:&lt;/P&gt;

&lt;P&gt;INTEL XDK Version: 3522&lt;/P&gt;

&lt;P&gt;Whitelisting&lt;/P&gt;

&lt;UL&gt;
	&lt;LI&gt;Network Request (&amp;lt;access&amp;gt;) is set to *&lt;/LI&gt;
	&lt;LI&gt;Intent (&amp;lt;allow-intent&amp;gt;) is&amp;nbsp;&lt;SPAN style="font-size: 13.008px;"&gt;set to *&lt;/SPAN&gt;&lt;/LI&gt;
	&lt;LI&gt;Navigation (&amp;lt;allow-navigation&amp;gt;) is&amp;nbsp;&lt;SPAN style="font-size: 13.008px;"&gt;set to *&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2016 12:36:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/IOS-Deep-Link/m-p/1092270#M65707</guid>
      <dc:creator>Daniel_F_7</dc:creator>
      <dc:date>2016-09-26T12:36:44Z</dc:date>
    </item>
    <item>
      <title>I would put this into the</title>
      <link>https://community.intel.com/t5/Software-Archive/IOS-Deep-Link/m-p/1092271#M65708</link>
      <description>&lt;P&gt;I would put this into the category of something in iOS 10 has broken your technique, which is not something that the XDK has any control over. The XDK creates a standard Cordova app, if iOS 10 has broken some aspects of Cordova webviews then either the technique being used has to be changed or Cordova may require some updates to address the issue. Doing a quick scan I'm not finding any similar issues for Cordova or PhoneGap users, which may simply mean that you're the first to run into this issue.&lt;/P&gt;

&lt;P&gt;I would recommend starting with the CSP rules in your index.html file. Some Cordova and PhoneGap users were having troubles that required an update to their CSP rules to make things work with iOS 10.&lt;/P&gt;

&lt;P&gt;Also, this article implies that using window.location (which is my guess as to what you are doing) will not work with iOS 10 &amp;gt; &lt;A href="https://blog.branch.io/ios-10-wwdc-deep-linking-review" target="_blank"&gt;https://blog.branch.io/ios-10-wwdc-deep-linking-review&lt;/A&gt; &amp;lt; if the target app is not installed on the device.&lt;/P&gt;

&lt;P&gt;It might be better to use a cordova plugin, such as this one &amp;gt; &lt;A href="https://github.com/nordnet/cordova-universal-links-plugin" target="_blank"&gt;https://github.com/nordnet/cordova-universal-links-plugin&lt;/A&gt; &amp;lt; Unfortunately, that plugin uses hooks scripts and so will not work with our build system. You'd have to build locally to use it.&lt;/P&gt;

&lt;P&gt;Or, you might have to add the links to your iOS entitlements plist file (just guessing, based on this article &amp;gt; &lt;A href="http://blog.ionic.io/deeplinking-in-ionic-apps/" target="_blank"&gt;http://blog.ionic.io/deeplinking-in-ionic-apps/&lt;/A&gt; &amp;lt;&lt;/P&gt;

&lt;P&gt;I am not an expert on deep links, so I'm mostly throwing out some ideas for you to investigate.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2016 19:27:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/IOS-Deep-Link/m-p/1092271#M65708</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2016-09-26T19:27:47Z</dc:date>
    </item>
    <item>
      <title>Hello! @Daniel F. Did u</title>
      <link>https://community.intel.com/t5/Software-Archive/IOS-Deep-Link/m-p/1092272#M65709</link>
      <description>&lt;P&gt;Hello! @Daniel F. Did u manage to fix your problem? if so how? do u mind sharing how this can be done?&lt;/P&gt;

&lt;P&gt;@Paul F. If i would use that plugin, how would i build locally using the intel xdk? I'm just used to pressing the build key.&lt;/P&gt;

&lt;P&gt;Thanks!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2017 12:15:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/IOS-Deep-Link/m-p/1092272#M65709</guid>
      <dc:creator>mattias_c_</dc:creator>
      <dc:date>2017-01-10T12:15:56Z</dc:date>
    </item>
    <item>
      <title>Hello mattias c.,</title>
      <link>https://community.intel.com/t5/Software-Archive/IOS-Deep-Link/m-p/1092273#M65710</link>
      <description>&lt;P&gt;Hello mattias c.,&lt;/P&gt;

&lt;P&gt;Yes. We used the AppAvailability cordova plugin (&lt;A href="https://github.com/ohh2ahh/AppAvailability"&gt;https://github.com/ohh2ahh/AppAvailability&lt;/A&gt;) to check whether the application is installed on the device and open it directly from this plugin if installed.&lt;/P&gt;

&lt;P&gt;To achieve this, we had to fork the IOS source code for the plugin as follows:&lt;/P&gt;

&lt;P&gt;Changed &lt;STRONG&gt;canOpenURL &lt;/STRONG&gt;to &lt;STRONG&gt;openURL&lt;/STRONG&gt;. So the plugin returns false if the application is not installed and returns true + opens the app if installed.&lt;/P&gt;

&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2017 14:51:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/IOS-Deep-Link/m-p/1092273#M65710</guid>
      <dc:creator>Daniel_F_7</dc:creator>
      <dc:date>2017-01-10T14:51:59Z</dc:date>
    </item>
    <item>
      <title>Quote:mattias c. wrote:</title>
      <link>https://community.intel.com/t5/Software-Archive/IOS-Deep-Link/m-p/1092274#M65711</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;mattias c. wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;@Paul F. If i would use that plugin, how would i build locally using the intel xdk? I'm just used to pressing the build key.&lt;/P&gt;

&lt;P&gt;Thanks!&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;If you want to build locally you have to install Cordova CLI and Android Studio (to build for Android), the XDK does not provide a local build option. Here are some basic instructions you can follow to convert your project into a Cordova CLI project &amp;gt; &lt;A href="https://software.intel.com/en-us/forums/intel-xdk/topic/685326#comment-1885369" target="_blank"&gt;https://software.intel.com/en-us/forums/intel-xdk/topic/685326#comment-1885369&lt;/A&gt; &amp;lt; and I have also created a prelim script to help you convert the XDK config files into PhoneGap Build and Cordova CLI config.xml files, which you can find here &amp;gt; &lt;A href="https://github.com/xmnboy/xdk-to-cli" target="_blank"&gt;https://github.com/xmnboy/xdk-to-cli&lt;/A&gt; &amp;lt; (you will also have to install Node.js on your system).&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2017 16:53:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/IOS-Deep-Link/m-p/1092274#M65711</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2017-01-10T16:53:01Z</dc:date>
    </item>
    <item>
      <title>Okay, thanks alot Paul!</title>
      <link>https://community.intel.com/t5/Software-Archive/IOS-Deep-Link/m-p/1092275#M65712</link>
      <description>&lt;P&gt;Okay, thanks alot Paul! Before attempting that i figured that I could try this plugin maybe,&amp;nbsp;https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking&amp;nbsp;&lt;/P&gt;

&lt;P&gt;used from&lt;/P&gt;

&lt;P&gt;&lt;A href="https://developer.branch.io/" target="_blank"&gt;https://developer.branch.io/&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Or can you tell just like with the other plugin that it wont work somehow with the xdk? Thanks once again!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2017 18:46:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/IOS-Deep-Link/m-p/1092275#M65712</guid>
      <dc:creator>mattias_c_</dc:creator>
      <dc:date>2017-01-10T18:46:20Z</dc:date>
    </item>
    <item>
      <title>I don't see any gradle</title>
      <link>https://community.intel.com/t5/Software-Archive/IOS-Deep-Link/m-p/1092276#M65713</link>
      <description>&lt;P&gt;I don't see any gradle scripts in the repo for that plugin, but it does include hooks scripts. So it will likely build but not work in your app, because the build system will ignore the hooks scripts. You also cannot build on PhoneGap Build with hooks scripts, those require building locally with CLI.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2017 18:56:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/IOS-Deep-Link/m-p/1092276#M65713</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2017-01-10T18:56:36Z</dc:date>
    </item>
    <item>
      <title>Thanks alot @Daniel and @Paul</title>
      <link>https://community.intel.com/t5/Software-Archive/IOS-Deep-Link/m-p/1092277#M65714</link>
      <description>&lt;P&gt;Thanks alot @Daniel and @Paul I appreciate it!&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Edit:&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Are we able to edit the info.plist?(https://software.intel.com/en-us/forums/intel-xdk/topic/590741) is there some recommended way of doing it? or should we do it through another plugin for example. Like the Geolocation plugin has this for example inside the plugin.xml:&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;config-file target="*-Info.plist" parent="NSLocationWhenInUseUsageDescription"&amp;gt;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;string&amp;gt;&amp;lt;/string&amp;gt;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/config-file&amp;gt;&lt;/P&gt;

&lt;P&gt;@Daniel so I only need to go inside&amp;nbsp;AppAvailability.m and change this:&lt;/P&gt;

&lt;P&gt;&lt;SPAN class="pl-k" style="box-sizing: border-box; color: rgb(167, 29, 93); font-family: Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 12px; white-space: pre;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="color: rgb(51, 51, 51); font-family: Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 12px; white-space: pre;"&gt; ([[UIApplication &lt;/SPAN&gt;&lt;SPAN class="pl-c1" style="box-sizing: border-box; color: rgb(0, 134, 179); font-family: Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 12px; white-space: pre;"&gt;sharedApplication&lt;/SPAN&gt;&lt;SPAN style="color: rgb(51, 51, 51); font-family: Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 12px; white-space: pre;"&gt;] &lt;/SPAN&gt;&lt;SPAN class="pl-c1" style="box-sizing: border-box; color: rgb(0, 134, 179); font-family: Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 12px; white-space: pre;"&gt;canOpenURL:&lt;/SPAN&gt;&lt;SPAN style="color: rgb(51, 51, 51); font-family: Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 12px; white-space: pre;"&gt;[&lt;/SPAN&gt;&lt;SPAN class="pl-c1" style="box-sizing: border-box; color: rgb(0, 134, 179); font-family: Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 12px; white-space: pre;"&gt;NSURL&lt;/SPAN&gt;&lt;SPAN style="color: rgb(51, 51, 51); font-family: Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 12px; white-space: pre;"&gt; &lt;/SPAN&gt;&lt;SPAN class="pl-c1" style="box-sizing: border-box; color: rgb(0, 134, 179); font-family: Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 12px; white-space: pre;"&gt;URLWithString:&lt;/SPAN&gt;&lt;SPAN style="color: rgb(51, 51, 51); font-family: Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 12px; white-space: pre;"&gt;scheme]])&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;FONT color="#333333" face="Consolas, Liberation Mono, Menlo, Courier, monospace"&gt;&lt;SPAN style="font-size: 12px; white-space: pre;"&gt;to&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN class="pl-k" style="box-sizing: border-box; color: rgb(167, 29, 93); font-family: Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 12px; white-space: pre;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="color: rgb(51, 51, 51); font-family: Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 12px; white-space: pre;"&gt; ([[UIApplication &lt;/SPAN&gt;&lt;SPAN class="pl-c1" style="box-sizing: border-box; color: rgb(0, 134, 179); font-family: Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 12px; white-space: pre;"&gt;sharedApplication&lt;/SPAN&gt;&lt;SPAN style="color: rgb(51, 51, 51); font-family: Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 12px; white-space: pre;"&gt;] &lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 134, 179); font-family: Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 12px; white-space: pre;"&gt;o&lt;/SPAN&gt;&lt;SPAN class="pl-c1" style="box-sizing: border-box; color: rgb(0, 134, 179); font-family: Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 12px; white-space: pre;"&gt;penURL:&lt;/SPAN&gt;&lt;SPAN style="color: rgb(51, 51, 51); font-family: Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 12px; white-space: pre;"&gt;[&lt;/SPAN&gt;&lt;SPAN class="pl-c1" style="box-sizing: border-box; color: rgb(0, 134, 179); font-family: Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 12px; white-space: pre;"&gt;NSURL&lt;/SPAN&gt;&lt;SPAN style="color: rgb(51, 51, 51); font-family: Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 12px; white-space: pre;"&gt; &lt;/SPAN&gt;&lt;SPAN class="pl-c1" style="box-sizing: border-box; color: rgb(0, 134, 179); font-family: Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 12px; white-space: pre;"&gt;URLWithString:&lt;/SPAN&gt;&lt;SPAN style="color: rgb(51, 51, 51); font-family: Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 12px; white-space: pre;"&gt;scheme]]) &lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;or?&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="color: rgb(51, 51, 51); font-family: Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 12px; white-space: pre;"&gt;Thank you&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2017 01:33:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/IOS-Deep-Link/m-p/1092277#M65714</guid>
      <dc:creator>mattias_c_</dc:creator>
      <dc:date>2017-01-13T01:33:00Z</dc:date>
    </item>
    <item>
      <title>mattias -- you'd have to do</title>
      <link>https://community.intel.com/t5/Software-Archive/IOS-Deep-Link/m-p/1092278#M65715</link>
      <description>&lt;P&gt;mattias -- you'd have to do it with a custom plugin or by cloning and modifying the plugin.xml file of the plugin of interest (if that's sufficient, I'm not sure what mods need to be made, so I can't say for sure). We have no direct way of making modifications to a plist file or Android manifest files with the additions file and our build system.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2017 19:35:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/IOS-Deep-Link/m-p/1092278#M65715</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2017-01-13T19:35:39Z</dc:date>
    </item>
  </channel>
</rss>

