No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    How i use events of cordova deeplinks plugin?

    Help
    3
    4
    385
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      Alan Secundo 0 last edited by

      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?

      1 Reply Last reply Reply Quote 0
      • rstoenescu
        rstoenescu Admin last edited by

        For the universalLinks.subscribe() ? Create a boot file and add it inside the export default function. If you are also building with other modes, you might want to have this only for Cordova (so you can use the ctx.mode.cordova in your quasar.conf to register the boot file only for Cordova builds).

        M 1 Reply Last reply Reply Quote 0
        • M
          Misaosama @rstoenescu last edited by

          @rstoenescu When I try to subscribe the event using universalLinks.subscribe() it post error saying 'universalLinks' is not defined. I wonder how I can import universakLinks from cordova-plugin-universal-links.

          1 Reply Last reply Reply Quote 0
          • rstoenescu
            rstoenescu Admin last edited by

            @Misaosama best is to head over to the cordova-plugin-universal-links developers and seek for help. they know best how their product works.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post