motorinc-gallery-picker-pro 1.0.0 → 1.0.1

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.
@@ -47,7 +47,7 @@ RCT_EXPORT_MODULE(ImagePickerModule);
47
47
  [[PHPhotoLibrary sharedPhotoLibrary] unregisterChangeObserver:self];
48
48
  }
49
49
 
50
- RCT_EXPORT_METHOD(openCamera:(NSDictionary *)options
50
+ RCT_EXPORT_METHOD(openCamera:(nonnull NSDictionary *)options
51
51
  resolver:(RCTPromiseResolveBlock)resolve
52
52
  rejecter:(RCTPromiseRejectBlock)reject)
53
53
  {
@@ -66,7 +66,7 @@ RCT_EXPORT_METHOD(openCamera:(NSDictionary *)options
66
66
  });
67
67
  }
68
68
 
69
- RCT_EXPORT_METHOD(openGallery:(NSDictionary *)options
69
+ RCT_EXPORT_METHOD(openGallery:(nonnull NSDictionary *)options
70
70
  resolver:(RCTPromiseResolveBlock)resolve
71
71
  rejecter:(RCTPromiseRejectBlock)reject)
72
72
  {
@@ -85,7 +85,7 @@ RCT_EXPORT_METHOD(openGallery:(NSDictionary *)options
85
85
  });
86
86
  }
87
87
 
88
- RCT_EXPORT_METHOD(openMultiSelectGallery:(NSDictionary *)options
88
+ RCT_EXPORT_METHOD(openMultiSelectGallery:(nonnull NSDictionary *)options
89
89
  resolver:(RCTPromiseResolveBlock)resolve
90
90
  rejecter:(RCTPromiseRejectBlock)reject)
91
91
  {
@@ -214,7 +214,7 @@ RCT_EXPORT_METHOD(getPhotoLibraryPermissionStatus:(RCTPromiseResolveBlock)resolv
214
214
  }
215
215
  }
216
216
 
217
- RCT_EXPORT_METHOD(fetchPhotoLibraryAssets:(NSDictionary *)options
217
+ RCT_EXPORT_METHOD(fetchPhotoLibraryAssets:(nonnull NSDictionary *)options
218
218
  resolver:(RCTPromiseResolveBlock)resolve
219
219
  rejecter:(RCTPromiseRejectBlock)reject)
220
220
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "motorinc-gallery-picker-pro",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
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",
@@ -3,11 +3,12 @@ module.exports = {
3
3
  platforms: {
4
4
  android: {
5
5
  sourceDir: 'android',
6
- packageImportPath: 'import com.gallerypicker.imagepicker.ImagePickerPackage;',
6
+ packageImportPath:
7
+ 'import com.gallerypicker.imagepicker.ImagePickerPackage;',
7
8
  },
8
9
  ios: {
9
10
  podspecPath: 'motorinc-gallery-picker-pro.podspec',
10
11
  },
11
12
  },
12
13
  },
13
- };
14
+ };