You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 26, 2021. It is now read-only.
$scope.shareAnywhere = function () {
$('.share_overlay').show();
$cordovaScreenshot.capture()
.then(function (result) {
$cordovaSocialSharing.share(null, null, 'file://' + result, null).then(function (result) {
$('.share_overlay').hide();
}, function (err) {
$('.share_overlay').hide();
console.log("there was an error sharing!");
});
}, function (err) {
$('.share_overlay').hide();
console.log("there was an error taking a a screenshot!");
});
}
I also used that crosswalk line
The text was updated successfully, but these errors were encountered:
I got black image as screenshot in android 5+ Versions
/* Cordova Screenshot Code*/
app.service('$cordovaScreenshot', ['$q', function ($q) {
return {
capture: function (filename, extension, quality) {
extension = extension || 'jpg';
quality = quality || '100';
}]);
/* Social Sharing Code */
I also used that crosswalk line
The text was updated successfully, but these errors were encountered: