cordova-plugin-x-socialsharing
Advanced tools
Comparing version 5.4.0 to 5.4.1
{ | ||
"name": "cordova-plugin-x-socialsharing", | ||
"version": "5.4.0", | ||
"version": "5.4.1", | ||
"description": "Share text, images (and other files), or a link via the native sharing widget of your device. Android is fully supported, as well as iOS 6 and up. WP8 has somewhat limited support.", | ||
@@ -5,0 +5,0 @@ "cordova": { |
@@ -165,13 +165,14 @@ # PhoneGap / Cordova Social Sharing plugin | ||
url: 'https://www.website.com/foo/#bar?a=b', | ||
chooserTitle: 'Pick an app' // Android only, you can override the default share sheet title | ||
} | ||
chooserTitle: 'Pick an app' // Android only, you can override the default share sheet title, | ||
appPackageName: 'com.apple.social.facebook' // Android only, you can provide id of the App you want to share with | ||
}; | ||
var onSuccess = function(result) { | ||
console.log("Share completed? " + result.completed); // On Android apps mostly return false even while it's true | ||
console.log("Shared to app: " + result.app); // On Android result.app is currently empty. On iOS it's empty when sharing is cancelled (result.completed=false) | ||
} | ||
console.log("Shared to app: " + result.app); // On Android result.app since plugin version 5.4.0 this is no longer empty. On iOS it's empty when sharing is cancelled (result.completed=false) | ||
}; | ||
var onError = function(msg) { | ||
console.log("Sharing failed with message: " + msg); | ||
} | ||
}; | ||
@@ -520,3 +521,3 @@ window.plugins.socialsharing.shareWithOptions(options, onSuccess, onError); | ||
### Use Custom Config strightplugin | ||
### Use Custom Config plugin | ||
The Custom Config plugin ([here](https://github.com/dpa99c/cordova-custom-config)) allows you to add configuration to your platforms "native" configuration files (e.g. .plist or AndroidManifest.xml) through the project's main config.xml file. | ||
@@ -523,0 +524,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
509654
548
17