motorinc-gallery-picker-pro 1.0.9 → 1.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,10 +1,20 @@
1
1
  <manifest xmlns:android="http://schemas.android.com/apk/res/android"
2
2
  package="com.motorinceditor.imagepicker">
3
3
 
4
+ <!-- Camera permission is still needed for camera functionality -->
4
5
  <uses-permission android:name="android.permission.CAMERA" />
5
- <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
6
- <uses-permission android:name="android.permission.READ_MEDIA_IMAGES" />
7
- <uses-permission android:name="android.permission.READ_MEDIA_VIDEO" />
8
- <uses-permission android:name="android.permission.READ_MEDIA_VISUAL_USER_SELECTED" />
6
+
7
+ <!--
8
+ NOTE: Storage permissions removed to comply with Google Play's Photo and Video Permissions policy.
9
+ This library uses the Android Photo Picker (ActivityResultContracts.PickVisualMedia) which does NOT
10
+ require READ_MEDIA_IMAGES/READ_MEDIA_VIDEO permissions.
11
+
12
+ The photo picker provides temporary access to selected media without needing storage permissions.
13
+
14
+ If your app needs persistent access to media files, you must:
15
+ 1. Declare these permissions in your app's AndroidManifest.xml (not the library)
16
+ 2. Have a core use case that justifies persistent media access
17
+ 3. Follow Google Play's Photo and Video Permissions policy
18
+ -->
9
19
 
10
20
  </manifest>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "motorinc-gallery-picker-pro",
3
- "version": "1.0.9",
3
+ "version": "1.0.11",
4
4
  "description": "A comprehensive React Native media gallery picker with smooth animations, multi-select, single-select, crop functionality, and native iOS/Android support",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -673,7 +673,7 @@ const MainPhotoGallery = React.forwardRef<MainPhotoGalleryRef, props>(
673
673
  setRefreshing(false);
674
674
  }
675
675
  },
676
- [loadingState, mediaType],
676
+ [loadingState, mediaType, assets, pickerAssetIds],
677
677
  );
678
678
 
679
679
  const handleRefresh = useCallback(() => {