Cordova: sharing browser URL to my iOS app (Clipper ios share extension)

前端 未结 5 2002
南笙
南笙 2020-11-30 01:20

What I want

On an Iphone, when visiting a website inside Safari or Chrome, it is possible to share content to other apps. In this case, you can see

5条回答
  •  Happy的楠姐
    2020-11-30 01:50

    That's a good and still relevant question.

    I tried to make use of the awesome cordova-plugin-openwith by Jean-Christophe Hoelt but faced several issues. The plugin is meant to receive share items of one type (say, URL, text or image), which is configured during installation. Also, with its current implementation, writing a note to share and selecting a receiver in a Cordova app are two different steps in different (native and Cordova) context, so it didn't look as a good user experience to me.

    I made these and other corrections to this plugin and published it as a separate plugin: https://github.com/EternallLight/cordova-plugin-openwith-ios

    Note that it works only for iOS, not for Android.

提交回复
热议问题