How i use events of cordova deeplinks plugin?
-
Hi guys,
I have a little problem with a cordova plugin called cordova-plugin-deeplinks.
I trying use this plugin for open a especific content in my application, but, when the App starts via link, it does’t work and i have no idea where i should put the code of the events.Here is the documentation of the plugin https://www.npmjs.com/package/cordova-plugin-deeplinks#application-launch-handling
Can anyone tell me, where is the right place for i put the code of the events?
-
For the
universalLinks.subscribe()
? Create a boot file and add it inside theexport default
function. If you are also building with other modes, you might want to have this only for Cordova (so you can use thectx.mode.cordova
in your quasar.conf to register the boot file only for Cordova builds). -
@rstoenescu When I try to subscribe the event using
universalLinks.subscribe()
it post error saying'universalLinks' is not defined
. I wonder how I can importuniversakLinks
fromcordova-plugin-universal-links
. -
@Misaosama best is to head over to the cordova-plugin-universal-links developers and seek for help. they know best how their product works.