gitawego / cordova-screenshot

screenshot plugin for cordova/phonegap
Other
211 stars 168 forks source link

can't use returned file path to share #76

Open jamesdouglasappleprint opened 8 years ago

jamesdouglasappleprint commented 8 years ago

I've tried combining this plugin with a social-share plugin, but the returned file path from screenshot doesn't seem to work. The images are saving to my phone correctly, but not the file path doesn't work.

Any thoughts?

navigator.screenshot.save(function(error,res){ if(error){ console.error(error); }else{ window.plugins.socialsharing.share('Message and image', null, res.filePath, null) console.log(res.filePath); } },'jpg',50,'filename');

camkLcbr commented 8 years ago

Hi James, do you have any update on your issue ?

jamesdouglasappleprint commented 8 years ago

Nope - I've had to remove the functionality from my app since it won't work on iOS :(

gitawego commented 8 years ago

I just tested in ios simulator (ios 9.2) with cordova ios 3.8.0 and cordova 6.0.0, I don't have such problem. could you please tell me your ios version and ios platform version of cordova ?

camkLcbr commented 8 years ago

As for me i'm using Cordova 5.4.1 and latest ios version. I'll try to update to cordova 6, Thx !

nicks258 commented 6 years ago

getting this path /private/var/mobile/Containers/Data/Application/62EC48AB-542D-4A4B-8A45-1AA0164E7CB6/tmp/myscreenshot.jpg.jpg not able to see in gallery in IOS please help.

mfouadegy commented 4 years ago

same problem