Node v6
Starting with v0.19 Astro must be used with Node v6+!
Menu

Sharing Plugin

The sharing plugin allows you to share data from your app with other apps on the device.

const sharingPlugin = await SharingPlugin.init()

var options = {
    message: 'A message from app',
    url: 'http://<url to share>'
}

sharingPlugin.share(options)

Methods

SharingPlugin.init() #

Creates and returns an instance of the sharing plugin that is used to make subsequent method calls.


share(options) #

Share data with other apps on the device.