This version of Astro is only compatible with Xcode 7.3
Menu

Sharing Plugin

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

var sharingPromise = SharingPlugin.init();
sharingPromise.then(function(sharingPlugin) {
    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.