We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
You can use on ionic 3
ionic cordova plugin add https://github.com/DmcSDK/cordova-plugin-mediaPicker.git --variable IOS_PHOTO_LIBRARY_USAGE_DESCRIPTION="your usage message"
let args = { "selectMode": 100, //101=picker image and video , 100=image , 102=video "maxSelectCount": 5, "maxSelectSize": 21000000 // 20mb }; (window as any).MediaPicker.getMedias(args, (medias: any[]) => { console.log(medias); }, (err: any) => { console.log(err) });
Originally posted by @secretmoo35 in #105 (comment)
Not working😞
Error MediaPicker not function
The text was updated successfully, but these errors were encountered:
Platform you are using?
Sorry, something went wrong.
Hi, I solve this problem. use like this
` import ~~~ declare var MediaPicker; @component({}) yourMethod(){ let args = { "selectMode": 100, //101=picker image and video , 100=image , 102=video "maxSelectCount": 5, "maxSelectSize": 21000000 // 20mb }; MediaPicker.getMedias(args, (medias: any[]) => { console.log(medias); }, (err: any) => { console.log(err) }); } `
No branches or pull requests
You can use on ionic 3
ionic cordova plugin add https://github.com/DmcSDK/cordova-plugin-mediaPicker.git --variable IOS_PHOTO_LIBRARY_USAGE_DESCRIPTION="your usage message"
Originally posted by @secretmoo35 in #105 (comment)
Not working😞
Error MediaPicker not function
The text was updated successfully, but these errors were encountered: