Web Share API polyfill for Cordova
cordova plugin add cordova-plugin-web-share --save
Plugin polyfills stadards-based Web Share API to trigger native platform-specific dialogs. The first argument in
navigator.share is an options object, that might have
url properties (all optional).
Method returns a
Promise object that resolved on success.
Additionally to the standard, the plugin detects which activity was used to share. Resolved value is an array of selected activity names: