Difference between revisions of "Share"
From GiderosMobile
Line 5: | Line 5: | ||
=== Description === | === Description === | ||
− | Sharing a text or an image with other apps (Whatsapp, Chrome, Bluetooth, Gmail, ...) on '''iOS''' | + | Sharing a text or an image with other apps (Whatsapp, Chrome, Bluetooth, Gmail, ...) on '''iOS''', '''Android''' and '''Windows Uwp'''. |
To use the '''Share''' plugin, add it to your project and call: | To use the '''Share''' plugin, add it to your project and call: |
Revision as of 17:41, 20 February 2025
Supported platforms:
Available since: Gideros 2020.7
Description
Sharing a text or an image with other apps (Whatsapp, Chrome, Bluetooth, Gmail, ...) on iOS, Android and Windows Uwp.
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 |