Socket
Socket
Sign inDemoInstall

rn_async_image_picker

Package Overview
Dependencies
0
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.5 to 1.0.6

9

index.js

@@ -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 @@ * 清除缓存

2

package.json
{
"name": "rn_async_image_picker",
"version": "1.0.5",
"version": "1.0.6",
"description": "React-Native 多图片选择 支持裁剪 压缩",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc