@connectedbits/react-native-image-picker 2.4.12 → 2.4.13

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.
@@ -381,11 +381,11 @@ RCT_EXPORT_METHOD(showImagePicker:(NSDictionary *)options callback:(RCTResponseS
381
381
  NSString *mimeType;
382
382
  if ([[self.options objectForKey:@"imageFileType"] isEqualToString:@"png"]) {
383
383
  data = UIImagePNGRepresentation(editedImage);
384
- mimeType = (__bridge_transfer NSString *)@"image/png";
384
+ mimeType = @"image/png";
385
385
  }
386
386
  else {
387
387
  data = UIImageJPEGRepresentation(editedImage, [[self.options valueForKey:@"quality"] floatValue]);
388
- mimeType = (__bridge_transfer NSString *)@"image/jpeg";
388
+ mimeType = @"image/jpeg";
389
389
  }
390
390
  [self.response setObject:mimeType forKey:@"type"];
391
391
  [data writeToFile:path atomically:YES];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@connectedbits/react-native-image-picker",
3
- "version": "2.4.12",
3
+ "version": "2.4.13",
4
4
  "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
5
  "react-native": "src/index.ts",
6
6
  "types": "lib/typescript/index.d.ts",