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 to make a quasar app a share target on iOS/Android?

    Framework
    2
    6
    763
    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.
    • P
      perelin last edited by

      Hi all, I just started qith Quasar and want to build an app that has the capability to receive input (files, images, etc) from other app via the platform (iOS/Android) native share functionality. I found this here so far https://github.com/marwonline/capacitor-share-target but it´s not really in a usable state. So I wonder what would be the canonical way for a Quasar app to implement such functionality.

      Where can I read up on this? Any pointers are appriciated!

      1 Reply Last reply Reply Quote 0
      • dobbel
        dobbel last edited by

        for native functionality in webview based apps there is Capacitor or Cordova. Besides that there is some web API stuff:

        https://web.dev/web-share/

        1 Reply Last reply Reply Quote 0
        • P
          perelin last edited by

          Hi dobbel, thanks for the reply. It seems you are right I need to handle it in three places:

          1. Android Manifest to register my app as a share target (intent)
          2. Capacitor to receive the shared content (getIntent()) and pass it to my app
          3. Quasar/Vue app to handle the passed content

          I figured out 1. (https://developer.android.com/training/sharing/receive), but I´m completely stuck with 2.

          Any idea? Anyone?

          dobbel 1 Reply Last reply Reply Quote 0
          • dobbel
            dobbel last edited by

            Here’s a cordova plugin:

            https://github.com/missive/cordova-plugin-openwith

            1 Reply Last reply Reply Quote 1
            • dobbel
              dobbel @perelin last edited by

              @perelin

              and another that’s actually the original version.( the other one was a fork of this one)

              https://github.com/j3k0/cordova-plugin-openwith

              1 Reply Last reply Reply Quote 1
              • P
                perelin last edited by

                Thx! Will check them out

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