rn_async_image_picker
Advanced tools
Comparing version 1.0.5 to 1.0.6
@@ -13,2 +13,3 @@ import { | ||
const defaultOptions = { | ||
openGalleryType:1, //全部.PictureMimeType.ofAll() 0,图片.ofImage() 1,视频.ofVideo() 2,音频.ofAudio() 3 | ||
imageCount: 6, // 最大选择图片数目,默认6 | ||
@@ -105,2 +106,10 @@ isRecordSelected: false, // 是否已选图片 | ||
asyncOpenCamera(options){ | ||
const optionObj = { | ||
...defaultOptions, | ||
...options | ||
}; | ||
return RNSyanImagePicker.asyncOpenCamera(optionObj); | ||
}, | ||
/** | ||
@@ -107,0 +116,0 @@ * 清除缓存 |
{ | ||
"name": "rn_async_image_picker", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "React-Native 多图片选择 支持裁剪 压缩", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
383427
125