react-native-rectangle-doc-scanner 3.1.0 → 3.2.0

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-rectangle-doc-scanner",
3
- "version": "3.1.0",
3
+ "version": "3.2.0",
4
4
  "description": "Native-backed document scanner for React Native with customizable overlays.",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -135,7 +135,7 @@
135
135
  // Enable high quality photo capture
136
136
  if (@available(iOS 13.0, *)) {
137
137
  self.photoOutput.maxPhotoQualityPrioritization = AVCapturePhotoQualityPrioritizationQuality;
138
- self.photoOutput.maxPhotoDimensions = (CMVideoDimensions){4032, 3024}; // 12MP
138
+ // maxPhotoDimensions defaults to the highest supported resolution automatically
139
139
  }
140
140
  }
141
141