Socket
Socket
Sign inDemoInstall

react-native-image-picker

Package Overview
Dependencies
Maintainers
7
Versions
212
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-image-picker - npm Package Compare versions

Comparing version 4.6.1 to 4.7.0

android/src/main/java/com/imagepicker/ImageMetadata.java

2

package.json
{
"name": "react-native-image-picker",
"version": "4.6.1",
"version": "4.7.0",
"description": "A React Native module that allows you to use native UI to select media from the device library or directly from the camera",

@@ -5,0 +5,0 @@ "react-native": "src/index.ts",

@@ -109,15 +109,15 @@ # React Native Image Picker

| key | iOS | Android | Description |
| --------- | --- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| base64 | OK | OK | The base64 string of the image (photos only) |
| uri | OK | OK | The file uri in app specific cache storage. Except when picking **video from Android gallery** where you will get read only content uri, to get file uri in this case copy the file to app specific storage using any react-native library |
| width | OK | OK | Image dimensions (photos only) |
| height | OK | OK | Image dimensions (photos only) |
| fileSize | OK | OK | The file size |
| type | OK | OK | The file type (photos only) |
| fileName | OK | OK | The file name
| duration | OK | OK | The selected video duration in seconds
| bitrate | --- | OK | The average bitrate (in bits/sec) of the selected video, if available. (Android only)
| timestamp | OK | OK | Timestamp of the photo. Only included if 'includeExtra' is true
| id | OK | OK | local identifier of the photo or video. On Android, this is the same as fileName |
| key | iOS | Android | Photo/Video | Requires Permissions | Description |
| --------- | --- | ------- | ----------- | -------------------- | ------------------------- |
| base64 | OK | OK | PHOTO ONLY | NO | The base64 string of the image (photos only) |
| uri | OK | OK | BOTH | NO | The file uri in app specific cache storage. Except when picking **video from Android gallery** where you will get read only content uri, to get file uri in this case copy the file to app specific storage using any react-native library |
| width | OK | OK | BOTH | NO | Asset dimensions |
| height | OK | OK | BOTH | NO | Asset dimensions |
| fileSize | OK | OK | BOTH | NO | The file size |
| type | OK | OK | BOTH | NO | The file type |
| fileName | OK | OK | BOTH | NO | The file name |
| duration | OK | OK | VIDEO ONLY | NO | The selected video duration in seconds |
| bitrate | --- | OK | VIDEO ONLY | NO | The average bitrate (in bits/sec) of the selected video, if available. (Android only) |
| timestamp | OK | OK | BOTH | YES | Timestamp of the asset. Only included if 'includeExtra' is true |
| id | OK | OK | BOTH | YES | local identifier of the photo or video. On Android, this is the same as fileName |

@@ -124,0 +124,0 @@ ## Note on file storage

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc