-
Notifications
You must be signed in to change notification settings - Fork 90
Problem when image is stored on device (Android) #28
Comments
Can you do a |
I assume you are using the base 64 variant? as Heshyo said, this could happen due to lack of memory. What device are you using? what is the image size? |
@Heshyo I don't get any exception in javascript console. I don't think this problem is OutOfMemoryException, because the same code works when set savetophotoalbum to false. |
Can you see the Java/Android log? there must be an exception thrown if the app crashes. Can you also paste the js code you are using? |
I didn't used the base64 variant. I changed to base64 and it works now. var options = { $cordovaCamera.getPicture(options).then(function(imageUrl) { window.imageResizer.resizeImage(function(data) { The code above don't work. |
When I select an image from gallery in android, cause app crash, or when I use cordova camera plugin and set savetophotoalbum, it's cause the same problem.
The text was updated successfully, but these errors were encountered: