SharePlugin.canShare()

BFChainAugust 11, 2023
  • Plugin
  • SharePlugin
  • canShare
Less 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/plugin";

(async() => {
  const b = await sharePlugin.canShare() 
})();

Platform Compatibility

Properties/Methods/EventsAndroidiOSDesktop-DevDesktop
canShareX

SharePlugin

Comments
  • Latest
  • Oldest
  • Hottest
Powered by Waline v2.13.0