Closed bau720123 closed 10 years ago
I have the same error. You have to specify a height or it will return null
as the error on iOS. I haven't tried android
Ok, this should be an easy fix. I'll take a look at it tonight or tomorrow.
thanks @TheKiteEatingTree
hi @TheKiteEatingTree I just do a more test it seem only Android 4.0X will crash the app (because of my 4.11 or 4.21 are normal,maybe > 4.2 are normal too) feedback this imformation to you
Could the android issue be related to issue #2? Also, are you using phonegap build? That fix probably isn't in the phonegap build version. I'll update it once I fix the height problem in iOS. If you're not using phonegap build and the plugin is up to date then it's probably another bug.
hi @TheKiteEatingTree it look like that the #2 issues to made this crash problem in 4.0X,thanks you letting me know I am using phonegap build 3.3 (build.phonegap.com),so I will wait for your plugin's new version
thanks above~
I pushed what I believe is the fix for the height problem to the height branch. I didn't bring my mac home so I'll have to test it tomorrow. If everything's good then I'll submit all of the bug fixes to phonegap build.
thanks @TheKiteEatingTree again~
I submitted the update to phonegap build, so hopefully it's there soon. They say it could take a week.
thanks @TheKiteEatingTree
hi @TheKiteEatingTree the 1.0.1 version have fully solve the article problem,tks~ https://build.phonegap.com/plugins/690 I will close it by myself
when I use this method
in Android it will immediately crash the app http://www.littlebau.com/ImagePicker_crash.png
in ios it always alert the "null" http://www.littlebau.com/ImagePicker_ios01.png http://www.littlebau.com/ImagePicker_ios02.png
finally~I found a way to solve the ios problem it must be add a "height" attribute
otherwise it will always got a "null" value (for now)