- The CKCameraManagerInterface requires setIOsSleepBeforeStarting to be implemented, but the Android new architecture implementation was missing this method stub. This caused Kotlin compilation failures when building release APKs.
NSGenericException "startRunning may not be called between calls to
beginConfiguration and commitConfiguration"
The root cause was that AVCaptureSession.previewLayer.session = X
causes beginConfiguration + commitConfiguration, and since we had that
running on the main thread, it caused a race condition between the main
and sessionQueue threads.
iOsSleepBeforeStarting will be removed in an upcoming major release to
avoid breaking changes in v16.
## What's Changed
### Upstream Sync (teslamotors/react-native-camera-kit@cc6515b)
- iOS: Added allowedBarcodeTypes barcode filtering and mount stress test support
- TypeScript: Added allowedBarcodeTypes prop with type definitions
- Example app: Added stress test and barcode filtering examples
- Config: Moved .nvmrc to root directory
- Docs: Added allowedBarcodeTypes documentation with fork notes
### Android Improvements
- Fixed build error by adding Codegen-required stub implementations
- Updated to limpbrains/qr v0.0.2 (ECI encoding + inverted QR code support)
- Preserved QR-only scanning architecture (no Google ML Kit)
### Fork Integrity
✅ Build and lint tests pass
✅ No Google ML Kit dependencies
✅ QR-only Android barcode scanning preserved
🤖 Generated with Claude Code
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
After syncing TypeScript layer with allowedBarcodeTypes and iOsSleepBeforeStarting props,
the auto-generated CKCameraManagerInterface requires these methods to be implemented.
Added stub implementations in both newarch and oldarch:
- setAllowedBarcodeTypes: No-op (fork is QR-only, doesn't use filtering)
- setIOsSleepBeforeStarting: No-op (iOS-only prop)
Both methods accept the props for API compatibility but have no effect on Android.
Verified: Android build now compiles successfully
🤖 Generated with Claude Code
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Upgrade from v0.0.1 to v0.0.2 for new features:
- ECI (Extended Channel Interpretation) support for 20+ character encodings
- Inverted QR code detection (white-on-black QR codes)
Build and lint verified passing.
🤖 Generated with Claude Code
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- The CKCameraManagerInterface requires setIOsSleepBeforeStarting to be implemented, but the Android new architecture implementation was missing this method stub. This caused Kotlin compilation failures when building release APKs.
Introduces a mount stress test feature in the example app, allowing repeated mounting and unmounting of the CameraExample component at a configurable interval. Updates CameraExample to support a 'stress' mode that triggers image capture and random zoom changes on mount.