Commit Graph

1170 Commits

Author SHA1 Message Date
Ivan Vershigora
0cbe0f9d47
fix: bump 2026-04-24 19:25:17 +01:00
Ivan Vershigora
81c46cc7ef
feat: detectQRCodeInImage API 2026-04-24 18:41:55 +01:00
Ivan Vershigora
e6dd85b4ea
bump to v17.0.3 2026-04-20 16:11:12 +01:00
Ivan Vershigora
75117f1287 bump to v17.0.2 2026-04-20 14:05:59 +01:00
Ivan Vershigora
4323cb608d fix: bump com.github.limpbrains:qr:v0.0.3 2026-04-20 14:05:59 +01:00
Overtorment
448cf1a9e0 refactor: release 2026-04-20 12:36:06 +01:00
Overtorment
a8535da0d3 fix: duplicate method 2026-04-19 20:23:10 +01:00
Ivan Vershigora
edb054a8cb
fix: bugs 2026-01-17 11:24:47 +00:00
Ivan Vershigora
91cc291a62
Update sync state after v17.0.1 sync 2026-01-17 10:25:19 +00:00
Ivan Vershigora
202f9f6455
Resolve merge conflicts, preserve no-google customizations 2026-01-17 10:21:18 +00:00
Seph Soliman
8e5149a6e6 v17.0.1 2026-01-12 10:47:04 -08:00
Seph Soliman
3767ef668c Fixed Android compilation error
("'setIOsSleepBeforeStarting' overrides nothing")
2026-01-12 10:44:57 -08:00
Seph Soliman
611006999d v17.0.0 2026-01-08 16:44:52 -08:00
Seph Soliman
b2b06b425b Merge branch 'r/16.2.1' 2026-01-08 16:43:31 -08:00
Seph Soliman
a73b84ef78 Removed iOsSleepBeforeStarting
No longer needed with proper begin/commit handling
2026-01-08 16:41:43 -08:00
Seph Soliman
afeaac0996 v16.2.1 2026-01-08 13:43:53 -08:00
coreyphillips
dca0e421fc fix(android): add missing setIOsSleepBeforeStarting stub for new arch
- 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.
2026-01-08 13:41:08 -08:00
Seph Soliman
db93bcfc94 Fixed missing iOsDeferredStart on Android 2026-01-08 13:40:32 -08:00
Seph Soliman
00b953263d
Merge pull request #760 from coreyphillips/master
fix(android): add missing setIOsSleepBeforeStarting stub for new arch
2026-01-08 13:37:02 -08:00
Seph Soliman
a2f61a0cbb Added iOsDeferredStart for UI performance
Reformatted RealCamera.swift
2026-01-08 13:19:54 -08:00
Seph Soliman
cdc1cced0e Fixed #758
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.
2026-01-08 12:05:17 -08:00
Ivan Vershigora
6120da218f
Release v16.2.0
## 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>
2026-01-08 09:07:41 +00:00
Ivan Vershigora
4e7527cbe3
Fix Android build: Add stub implementations for new Codegen methods
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>
2026-01-08 00:05:54 +00:00
Ivan Vershigora
daaa65be3a
Update limpbrains/qr dependency to v0.0.2
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>
2026-01-07 23:53:32 +00:00
Ivan Vershigora
05ae12c0b1
Sync from teslamotors/react-native-camera-kit@cc6515b
Selectively synced upstream changes while preserving QR-only Android implementation.

Changes auto-synced (Category A - 19 files):
- iOS: All 8 files (stress test support + allowedBarcodeTypes filtering)
- TypeScript: All 7 files (Camera components, props, types, specs)
- Example app: All 3 files (stress test + allowedBarcodeTypes example)
- Config: Moved .nvmrc to root

Changes selectively synced (Category B - 2 files):
- CodeFormat.kt: Added UPC_A("upc-a") enum value (1 hunk applied, 1 skipped)
- README.md: Added allowedBarcodeTypes docs with QR-only note

Changes skipped (Android barcode conflicts):
- CKCamera.kt: All barcode filtering logic (~50+ hunks)
  Reason: Fork uses onBarcodeRead(String), upstream uses onBarcodeRead(List<Barcode>, Size)
- CKCameraManager.kt: setAllowedBarcodeTypes property setter
- package.json: Version bump (fork maintains independent versioning)

Upstream range: 5a709e0..cc6515b (12 commits)
Main feature: allowedBarcodeTypes barcode filtering (iOS synced, Android QR-only preserved)

Fork integrity checks:
 No Google ML Kit dependencies
 QRDecoder.decode() preserved
 limpbrains/qr dependency intact
 yarn build && yarn lint passed

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-07 23:27:08 +00:00
coreyphillips
2c0a0e43f3
fix(android): add missing setIOsSleepBeforeStarting stub for new arch
- 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.
2026-01-07 12:26:43 -05:00
Seph Soliman
cc6515b914 v16.2.0 2026-01-05 15:55:07 -08:00
Seph Soliman
03763d0470
Merge pull request #759 from teslamotors/stress-test
Add mount stress test to CameraKit example app
2026-01-05 14:34:33 -08:00
Seph Soliman
f5e3bc98e9 Add mount stress test to CameraKit example app
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.
2026-01-05 14:33:04 -08:00
Seph Soliman
6c7cfe44d5
Merge pull request #727 from IlyaPasternakAmitech/master
feat: Add forbiddenBarcodeTypes property
2025-12-30 16:13:47 -08:00
Seph Soliman
ea894d96ad Fixed Android allowed barcode types 2025-12-30 16:03:40 -08:00
Seph Soliman
2a1f06aa12 Fixed optional behavior of allowedBarcodeTypes
Added more barcode types
2025-12-30 15:11:19 -08:00
Seph Soliman
5a709e03b0
Merge pull request #757 from limpbrains/init
Fixed #756 Catch camera init and trigger onError
2025-12-30 11:00:17 -08:00
Ivan Vershigora
1131e81f85 fix: catch error in cameraProviderFuture.get() 2025-12-29 18:58:29 +00:00
Ivan Vershigora
1371773530
fix: catch error in cameraProviderFuture.get() 2025-12-29 18:48:17 +00:00
Ivan
91909ff575
replace google mlkit with limpbrains/qr 2025-12-29 14:36:52 +00:00
Kseniya Vinnichek
d42ef6290b update README with allowedBarcodeTypes usage and supported formats 2025-11-20 13:37:03 +01:00
Kseniya Vinnichek
4cbec39042 refactoring 2025-11-20 13:08:08 +01:00
Kseniya Vinnichek
1ea413a099 Merge remote-tracking branch 'upstream/master' into refactoring
# Conflicts:
#	android/src/main/java/com/rncamerakit/CKCamera.kt
#	android/src/newarch/java/com/rncamerakit/CKCameraManager.kt
#	android/src/paper/java/com/facebook/react/viewmanagers/CKCameraManagerDelegate.java
#	android/src/paper/java/com/facebook/react/viewmanagers/CKCameraManagerInterface.java
2025-11-20 10:41:02 +01:00
Kseniya Vinnichek
f8be0f08e8 correct allowed barcode types validation, remove invalid reference, and prevent fallback errors 2025-11-19 11:32:43 +01:00
Seph Soliman
4892689cab v16.1.3 2025-10-01 10:53:29 -07:00
Seph Soliman
9acbc4981a Fixed zoom/maxZoom issue on legacy arch when (max)Zoom isn't defined 2025-10-01 10:52:32 -07:00
Seph Soliman
cf4f64e3bc
Merge pull request #751 from Simek/@simek/exclude-files-from-publish-bundle
Define `files` array to exclude files in the published bundle
2025-09-12 12:57:55 -07:00
Simek
90c8e6c4d2 LICENSE file is always automatically included 2025-09-12 11:36:48 +02:00
Simek
f6b5f25b22 Define files array to exclude files in the published bundle 2025-09-12 11:28:43 +02:00
Seph Soliman
ca3da0b29d
Merge pull request #750 from teslamotors/copilot/fix-85b06957-deab-4669-81b3-b03de9e140ec
Fix missing Bundler in CI linter workflow causing pod install failures
2025-09-11 15:11:17 -07:00
copilot-swe-agent[bot]
c808dd22d8 Fix missing Bundler in linter workflow by adding gem install bundler step
Co-authored-by: scarlac <895369+scarlac@users.noreply.github.com>
2025-09-11 19:37:45 +00:00
copilot-swe-agent[bot]
c0d1ae98dc Initial plan 2025-09-11 19:28:12 +00:00
Seph Soliman
7d90107313 v16.1.2 2025-09-09 18:29:15 -07:00
Seph Soliman
96b5104516
Merge pull request #747 from teslamotors/torch-startup-ios
Fixed torch not being enabled on startup #593
2025-09-09 18:28:39 -07:00