Open dbarn opened 7 years ago
I have both the InAppBrowser plugin and Custom URL Scheme (scheme: mycoolapp) plugin installed in my app (IOS).
When make a call to open a browser window or an external app (not mine) handleOpenURL always fires.
I have:
function handleOpenURL(url) { setTimeout(function() { console.log('Handle open URL'); console.log(url); alert(url); }, 0); } // open link code document.querySelector('.button1').addEventListener('click', function(){ cordova.InAppBrowser.open('http://www.google.com', '_system'); }); document.querySelector('.button2').addEventListener('click', function(){ cordova.InAppBrowser.open('notmyapp://?stuff=test', '_system'); });
When I hit either of the two buttons handleOpenUrl gets fired.
Is this normal?
Thanks for any feedback. Dave
+1
+1 Same problem.
Anyone able to solve this?
I have both the InAppBrowser plugin and Custom URL Scheme (scheme: mycoolapp) plugin installed in my app (IOS).
When make a call to open a browser window or an external app (not mine) handleOpenURL always fires.
I have:
When I hit either of the two buttons handleOpenUrl gets fired.
Is this normal?
Thanks for any feedback. Dave