Share

From GiderosMobile
(Redirected from Category:Share)

Supported platforms: Platform android.pngPlatform ios.pngPlatform winrt.png
Available since: Gideros 2020.7

Description

Sharing a text or an image with other apps on iOS, Android and Windows Uwp. This invokes the platform default sharing dialog, allowing to save, print, send, share, etc.

To use the Share plugin, add it to your project and call:

require "Share"
There are some more parameters for iOS, right click the plugin -> Properties

Example

Share = require "Share"

Share.share("text/plain", "Hello Gideros!")

References

Methods

Share.new creates a new Share object
Share.share shares data

Share:export exports data
Share:import imports data

Events

Share_Event.SHARE_EXPORT_RESULT
Share_Event.SHARE_IMPORT_RESULT

Constants