SharePlugin.canShare()
PluginSharePlugincanShareLess than 1 minute
Check if sharing is available
SharePlugin.canShare()
Parameters
- None
Return Value
Returns a Promise that resolves to a boolean;
Example
import { sharePlugin } from "@plaoc/plugins";
(async() => {
const b = await sharePlugin.canShare()
})();
Platform Compatibility
Properties/Methods/Events | Android | iOS | Desktop-Dev | Desktop |
---|---|---|---|---|
canShare | ✅ | ✅ | ✅ | X |
Related Links
Powered by Waline v2.15.7