Share

Share
markmarijnissen0.1.13
platforms: android,ios
$ cordova plugin add nl.madebymark.share

cordova-plugin-share

Cordova Plugin to open native "share" popup in Android and iOS

Install

In your phonegap/cordova project, type:

cordova plugins add https://github.com/markmarijnissen/cordova-plugin-share.git

Usage

navigator.share(text,title,mimetype)

  • text: Text to share, i.e. "Incredible plugin"
  • title: Title of popup, i.e. "Share this quote" (android only, default: "Share")
  • mimetype: Mimetype, i.e. "image/jpeg" (android only, default: "plain/text")

More info

License

MIT license