cordova-plugin-simpleshare
v0.2.0
Published
Cordova plugin for Native Sharing
Downloads
3
Readme
Simple Share plugin for Cordova
Cordova Plugin to open native "share" popup in Android and iOS for sending simple data to other apps
Installation
cordova plugins add cordova-plugin-simpleshare
Usage
navigator.share(text, title, mimeType)
- text: Text to share, e.g. "Incredible plugin"
- title: Title of popup, e.g. "Share this quote" (android only, default: "Share")
- mimeType: MIME type, e.g. "image/jpeg" (android only, default: "plain/text")
More info
- Based on Cordova plugin by Mark Marijnssen
- iOS share code from stack overflow
- Android share code from here; read if you want to understand
mimeType
options
License
MIT license