EddyVerbruggen / Custom-URL-scheme

:link: Launch your Cordova/PhoneGap app by a Custom URL scheme like mycoolapp://
1.03k stars 367 forks source link

Does't work if target app is already opened in background in IOS #235

Open kvarinder opened 7 years ago

kvarinder commented 7 years ago

i am using build.phonegap

in IOS if target application is already opened, then app get hangs for some time and all applications got minimized.

here is my code config.xml

<gap:plugin name="cordova-plugin-customurlscheme" source="npm">
   <param name="URL_SCHEME" value="myapp" />
 </gap:plugin>

on index.html

window.handleOpenURL = function (url) { alert(url); }

i also tried with window.setTimeout, but gives me same result

Please help !!

Aarbel commented 6 years ago

@kvarinder @EddyVerbruggen same issue here, did you found a solution to fix that ?

Aarbel commented 6 years ago

similar to #174 and #229