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