Open riaz61 opened 7 years ago
@riaz61 try this out: https://github.com/mirulumam/cordova-imagePicker Forked from @wymsee's imagepicker plugin
tested on Android N 7.1
I forked the original plugin. Use this: https://github.com/abelabbesnabi/cordova-plugin-image-picker It fixes the problem.
This worked thanks. If you want to test this out before changing or attempting anything, go to your app info or settings on your android device. Then you can enable the permission, it should be there. If its not, the app never tried to use that permission.
excellent i have used https://github.com/Findiglay/cordova-imagePicker and it solved the issue even if i deny the permission request for selecting from library and use camera to capture image
@abelabbesnabi it worked for me. Thanks man.
You're very welcome!
On Thu, Mar 29, 2018 at 6:24 AM, Yash Vekaria notifications@github.com wrote:
@abelabbesnabi https://github.com/abelabbesnabi it worked for me. Thanks man.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/wymsee/cordova-imagePicker/issues/212#issuecomment-377233749, or mute the thread https://github.com/notifications/unsubscribe-auth/AFlx8tVZXvbLMcCJTbHsBbjnQf8SVKcEks5tjOCBgaJpZM4L6fkF .
@abelabbesnabi in the ionic new version it's not working
@abelabbesnabi Good solution, but it's not returning base64 code, even with outputType=1 option.
@abelabbesnabi Can you provide a solution working with base64, please?
I'm getting a 404 for 'https://github.com/Findiglay/cordova-imagePicker' when trying to run ionic state reset --plugins
seems the repo has been deleted?
I found the other solution; Ionic: ionic (Ionic CLI) : 4.3.1 Ionic Framework : ionic-angular 3.9.2 @ionic/app-scripts : 3.2.0 1.cordova plugin add cordova-android-support-gradle-release 2.rm -rf platforms/android 3.ionic cordova platform add android 4.ionic cordova build android Test OK on android 6.0.1 and 8.0.0
@kuangren1984 it worked!
@kuangren1984 it worked! Thank you so much!
@kuangren1984 This works perfectly fine :+1: Thanks a lot :)
@thevirajshelke1984 can you please provide the code..
- cordova plugin add cordova-android-support-gradle-release
- ioinc cordova platform rm android
- ionic cordova platform add android
- ionic cordova build android
Just follow this steps given by @kuangren1984 :-) They work fine. The app crashes due to different versions of a package needed by some other package in your project. cordova-android-support-gradle-release this package helps us solve the issue.
If you need more insights @faris-dude lemme know :)
Thanks chaps that sorted me out, was pulling my hair out with this one!
@kuangren1984 thanks a lot dude
@kuangren1984 Saved my day. Thanks!
@kuangren1984 Thanks a lot 👍
@kuangren1984 : our saviour ! cordova-android@8.1.0
App crashes when trying to select an image using the image picker plugin. Theres no popup for permission to access the camera so the app crashes automatically. In ios my app is on the app store and theres no problem, the plugin works fine but on android the app crashes. Please help me solve this problem.