How can I share an image with my Cordova / PhoneGap application from another application?

I have a Cordova / PhoneGap application that deals with photos. I want my app to appear in sharing options when other apps want to share a photo with other apps.

Here is an example of such a sharing dialog:

enter image description here

How can I make the Cordova / PhoneGap application appear in the photo sharing settings of other applications?

Edit: When I click on Instagram sharing in some photo apps, I get the following popup. How can I make sure my application also appears in this popup popup menu?

enter image description here

+5
source share
1 answer

For iOS, this thread was answered

My application inside iMessage UIActivityViewController

you have even more information on this page

How to associate file types with an iPhone app?

For android, you can follow the instructions here http://developer.android.com/training/sharing/receive.html

+3
source

Source: https://habr.com/ru/post/1207145/


All Articles