Custom-URL-scheme icon indicating copy to clipboard operation
Custom-URL-scheme copied to clipboard

How to get URL in IOS

Open lizj0917 opened this issue 5 years ago • 3 comments

my app is ionic1 ,and I use handleOpenURL() in my app.js, but i cannot get the url

lizj0917 avatar Aug 20 '19 08:08 lizj0917

I also use ionic v1, i put below code inside the $ionicPlatform.ready in app.js

window.handleOpenURL = function (url) { setTimeout(function() { alert("received url: " + url); }, 0); };

josephlaw avatar Sep 26 '19 17:09 josephlaw

It doesn't work with [email protected], does it?

gasci avatar Nov 11 '19 15:11 gasci

@gasci sorry I use cordiva-ios 4.5.5

Must use the timer in my case

josephlaw avatar Nov 11 '19 16:11 josephlaw