UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    How to force a link to open with a selected app?

    Scheduled Pinned Locked Moved Unsolved App Development
    3 Posts 3 Posters 100 Views 2 Watching
    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.
    • CiberSheepC Offline
      CiberSheep
      last edited by

      The issue:

      • I've set up some links to open by App1
      • Inside App1, I show a link
      • This link, when tapped, is opened by App1

      How do I force the link to be opened with Morph?

      I've seen this, but I couldn't make it work as

      Qt.openUrlExternally("appid://morph-broswer.ubports/morph-broswer/current-user-version" link)

      Is the ContentHub required?

      Another planet, another time, another universe!

      1 Reply Last reply Reply Quote 0
      • K Offline
        kugiigi
        last edited by

        I actually didn't know about this, interesting.
        I triee a bit and had success it some apps like the clock app.
        I also tried with Morph Qt6 and it worked. This is what I used appid://morph-browser-qt6.ubports/morph-browser/current-user-version
        I'm still unsure what's the format for the second section so maybe that's the key?
        Also, maybe it only works with click apps and not deb ones? I also can't make it to work on apps like messaging app.

        nbdynlN 1 Reply Last reply Reply Quote 0
        • nbdynlN Online
          nbdynl @kugiigi
          last edited by

          @kugiigi this might work to force webapps to use the newer browser right?

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post