How to implement handleOpenURL?

Hi all,

I added the Custom Url Scheme plugin (GitHub - EddyVerbruggen/Custom-URL-scheme: Launch your Cordova/PhoneGap app by a Custom URL scheme like mycoolapp://) to my app and now I am trying to pass data from a webpage to my app. Calling mycoolapp://any/path opens the app, but how can I get data?
The manual says one should implement the handleOpenURL function, but where? In which file, class, module? Did anyone get this working?
My app is on Ionic 5, Angular and Cordova.

Probably you need the handleOpenUrl function in app.component.ts as it will fire upon app start.

Thanks for your reply. I did not mention, I tried this this already. I hoped to find someone in this forum who got this working.