adding to camera roll works now

This commit is contained in:
Bastian Meier
2016-05-02 12:40:49 +02:00
parent 6c09ce9084
commit 2cd9da795d
+2 -2
View File
@@ -69,8 +69,8 @@
[self.commandDelegate sendPluginResult:pluginResult callbackId:self.callbackId];
}else{
self.imagePath = [self.imagePath stringByAppendingString: @" - error writing image to documents folder"];
CDVPluginResult * pluginResult = [CDVPluginResult resultWithStatus:CDVCommandStatus_ERROR messageAsString:self.imagePath];
imagePath = [imagePath stringByAppendingString: @" - error writing image to documents folder"];
CDVPluginResult * pluginResult = [CDVPluginResult resultWithStatus:CDVCommandStatus_ERROR messageAsString:imagePath];
[self.commandDelegate sendPluginResult:pluginResult callbackId:self.callbackId];
}