-
Notifications
You must be signed in to change notification settings - Fork 97
Open
Description
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
Metadata
Metadata
Assignees
Labels
No labels