Difference between revisions of "Share"
From GiderosMobile
| m | |||
| Line 1: | Line 1: | ||
| __NOTOC__ | __NOTOC__ | ||
| <!-- GIDEROSOBJ:Share --> | <!-- GIDEROSOBJ:Share --> | ||
| − | '''Supported platforms:''' [[File:Platform android.png]][[File:Platform ios.png]]<br/> | + | '''Supported platforms:''' [[File:Platform android.png]][[File:Platform ios.png]][[File:Platform winrt.png]]<br/> | 
| '''Available since:''' Gideros 2020.7<br/> | '''Available since:''' Gideros 2020.7<br/> | ||
Revision as of 18:09, 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
- https://developer.android.com/training/secure-file-sharing
- https://android.googlesource.com/platform/external/mime-support/+/9817b71a54a2ee8b691c1dfa937c0f9b16b3473c/mime.types
| MethodsShare.share sharing data | EventsConstants | 
