How to make a quasar app a share target on iOS/Android?
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!
for native functionality in webview based apps there is Capacitor or Cordova. Besides that there is some web API stuff:
Hi dobbel, thanks for the reply. It seems you are right I need to handle it in three places:
- Android Manifest to register my app as a share target (intent)
- Capacitor to receive the shared content (getIntent()) and pass it to my app
- 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?
Here’s a cordova plugin:
and another that’s actually the original version.( the other one was a fork of this one)
Thx! Will check them out