@@ -174,6 +174,7 @@ function uploadFiles(choosePromise, { onChooseFile, onUploadProgress }) {
});
}
function chooseAndUploadFile(opts = { type: 'all' }) {
+ opts.sourceType = ['album','camera']
if (opts.type === 'image') {
return uploadFiles(chooseImage(opts), opts);