** Still in development. Breaking changes expected before the 1.0.0 release **
Wraps the share() method of the Navigator interface invokes the native sharing mechanism of the device to share data such as text, URLs, or files. The available share targets depend on the device, but might include the clipboard, contacts and email applications, websites, Bluetooth, etc.
share()
Navigator
Note: the Share API is not available in all platforms, notably Firefox and Android webview. You can check compatibility here. While this API is not available in Android, you can use this plugin.
Added helpers to make error handling easier: