How to use custom URL schemes?

Hi,

I’m trying to launch my app from a link in a mail, and pass some data (url) to the app. Starting the app is no problem after registering a custom URL scheme.

But how am I supposed to pass some data to the app? I tried cordova-plugin-customurlscheme, but the handleOpenURL function apparently doesn’t get called at all.

Has anybody successfully done something like this with cordova?

Thanks for any hint or suggestion,
Heiner

So, are you using Capacitor or Cordova? You have posted on the Capacitor forum.

In Capacitor apps you can use App plugin to get the url that launched the app.

Thanks for the answer. I didn’t saw this in the docs.

Yes, of course I’m using capacitor (what else :wink: )