munir ishak caae31be71 update url | vor 5 Jahren | |
---|---|---|
src | vor 5 Jahren | |
www | vor 5 Jahren | |
.gitignore | vor 5 Jahren | |
README.md | vor 5 Jahren | |
package.json | vor 5 Jahren | |
plugin.xml | vor 5 Jahren |
This plugin(based on devgeeks/Canvas2ImagePlugin) allows you to save BASE64 data to the iOS Photo Library, Android Gallery or WindowsPhone 8 Photo Album from your app.
This plugin fork from solderzzc/Base64ImageSaverPlugin
Call the window.Base64ImageSaverPlugin.saveImageDataToLibrary()
method using success and error callbacks and the id attribute or the element object of the canvas to save:
function onDeviceReady()
{
window.Base64ImageSaverPlugin.saveImageDataToLibrary(
function(msg){
console.log(msg);
},
function(err){
console.log(err);
},
BASE64DATA
);
}