Share: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
Line 20: Line 20:
Share.share("text/plain", "Hello Gideros!")
Share.share("text/plain", "Hello Gideros!")
</syntaxhighlight>
</syntaxhighlight>
=== References ===
*https://developer.android.com/training/secure-file-sharing
*https://android.googlesource.com/platform/external/mime-support/+/9817b71a54a2ee8b691c1dfa937c0f9b16b3473c/mime.types


{|-
{|-

Revision as of 16:32, 18 February 2025

Supported platforms:
Available since: Gideros 2020.7

Description

Sharing a text or an image with other apps on iOS/Android.

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

Share = 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.share sharing data

Events

Constants