react-native-nitro-zxing 0.3.0 → 0.3.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.
@@ -142,7 +142,7 @@ ZXingDecoder::ZXingDecoder(const std::vector<TargetBarcodeFormat>& formats, Mode
142
142
  _attempts.push_back({makeOptions(zxingFormats, false, false, false), 0, 1});
143
143
  // Rotation handling costs several times a plain scan, so look for rotated codes periodically
144
144
  // instead of on every frame that finds nothing.
145
- _attempts.push_back({makeOptions(zxingFormats, false, true, false), 0, kLiveRotationPeriod});
145
+ _attempts.push_back({makeOptions(zxingFormats, false, true, false).setTryInvert(true), 0, kLiveRotationPeriod});
146
146
  } else {
147
147
  // A still is usually many megapixels: scan a reduced copy first, then the full image, and
148
148
  // only then the expensive heuristics that help with blurred or inverted captures.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-nitro-zxing",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "Barcode scanning plugin for react-native-vision-camera powered by zxing-cpp.",
5
5
  "main": "lib/index",
6
6
  "module": "lib/index",