Commit Graph

133 Commits

Author SHA1 Message Date
Ivan Vershigora
58ff00300c feat: detectQRCodeInImage API 2026-04-24 19:25:34 +01:00
Ivan Vershigora
202f9f6455
Resolve merge conflicts, preserve no-google customizations 2026-01-17 10:21:18 +00:00
Seph Soliman
a73b84ef78 Removed iOsSleepBeforeStarting
No longer needed with proper begin/commit handling
2026-01-08 16:41:43 -08:00
Seph Soliman
a2f61a0cbb Added iOsDeferredStart for UI performance
Reformatted RealCamera.swift
2026-01-08 13:19:54 -08: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
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
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
Seph Soliman
4f376b5d0f Added clarifying docs for zoomMode vs zoom 2025-08-28 10:52:35 -07:00
phlpsong
674c545446 chore: update README and format code 2025-03-13 18:13:58 +08:00
Seph Soliman
bfa393e5f5 Removed docs for deprecated methods
Removed docs for checkDeviceCameraAuthorizationStatus
Removed docs for requestDeviceCameraAuthorization
Please use rn-permissions or expo-permissions to check instead
2025-02-11 11:14:32 -08:00
Seph Soliman
7a97a1f0a1
Update README.md 2025-02-11 10:54:02 -08:00
Jameson Lapp
40794948bc Add support for onCaptureButtonPressIn and onCaptureButtonPressOut events on Android 2024-12-19 14:35:28 -05:00
Seph Soliman
ed4023fb62
Merge pull request #676 from adammcarth/chore/kotlin-installation-guide-update
Update Android Kotlin documentation for RN0.73+
2024-11-14 14:58:46 -08:00
Seph Soliman
ace123eefa Added maxPhotoQualityPrioritization for iOS
Allows a massive capture speed-up of 60-80%
2024-11-14 13:34:07 -08:00
Adam McArthur
b7f7a283f1 Update Android Kotlin documentation for RN0.73+ 2024-10-22 15:52:18 +11:00
Seph Soliman
21f760117b RN 0.71.0 -> 0.74.1
Added support for volume buttons as capture buttons
Added yarn v3.6.4
2024-05-14 17:43:02 -07:00
Martin Lichstam
80c517dc68
Add resize mode cover/contain (#644)
* Add resize mode cover/contain

* Add resize to simulator, change type enum and add listener for resize

* Add resize to camera example

* Add description of resizeMode to readme

* Add description of resizeMode to readme

* Update ios/ReactNativeCameraKit/CameraView.swift

---------

Co-authored-by: Seph Soliman <github@seph.dk>
2024-04-30 16:24:19 -07:00
Seph Soliman
11b116c386
Added rn-permissions recommendation (#606)
* Added rn-permissions recommendation
2023-10-16 11:40:34 -07:00
Seph Soliman
81d5ba8147 Allow disabling the photo capture shutter sound on Android (#583) 2023-10-11 11:15:21 -07:00
Seph Soliman
a13cab8ff6
Merge pull request #588 from avantstay/master
Include documentation to use expo plugin
2023-10-10 15:26:07 -07:00
Seph Soliman
abba8365f3
Update README.md 2023-10-10 15:20:51 -07:00
Petto Martino
461e08d26d chore: update readme 2023-09-18 14:50:12 +01:00
Abhinav Viswaroop
3fa919b6eb
Update README.md
Greetings,
This PR seeks to prose a minor correction in the wording of a comment.

Line 103: replace 'stoped when find any code' with 'stops when some code has been found'

Thank you
2023-09-10 11:04:10 +05:30
Seph Soliman
73bd920ca4 Added onError for when Android fails to initialize the camera
May fail when phone is broken or
if there are no camera with the specs (e.g. aspect ratio)
2023-07-31 18:59:06 -07:00
Seph Soliman
e9fd0826d0 Updated docs, minor tweaks on Android 2023-07-18 21:35:20 -07:00
David Bertet
8b346669de Small refinements
Remove cameraType from the class, use local variable only to avoid unwanted side effects
Move thumbnail creation into delegate, to be consistent and return only data
Make `counterRotatedCaptureVideoOrientationFrom` private
Refactor slightly `update(pinchVelocity`
Remove `setTorchMode`, add `scanThrottleDelay` from React types
2023-07-04 01:35:25 -07:00
Seph Soliman
5a7df3ee80 Removed CameraScreen 2023-07-03 20:21:01 -07:00
David Bertet
d730a76051 Fix small issues, throttle scanner 2023-06-30 00:24:37 -07:00
David Bertet
05c8f1862c Improve type definition 2023-06-02 02:08:14 -07:00
Seph Soliman
edfa42380f
v13 (#491)
Some checks failed
Build / build-example-ios (push) Has been cancelled
Build / build-example-android (push) Has been cancelled
Linter / ESLint (push) Has been cancelled
* Removed saveToCameraRoll & saveToCameraRollWithPhUrl.
Use react-native-cameraroll instead.

Upgraded CameraX to 1.1.0,
Upgraded com.google.mlkit:barcode-scanning to 17.0.2

* v13.0.0
2022-08-29 11:29:07 -07:00
Boby chaudhary
9e60590638
Fix: Minor typo mistake (#437)
Minor typo mistake
2022-03-29 14:08:51 -07:00
Seph Soliman
6be7a1f6cb Added support for saveToCameraRoll on Android. Doc updates. 2021-06-08 16:01:44 -07:00
Seph Soliman
4249927da1 Updated docs, exported constants 2021-05-26 17:07:08 -07:00
Aaron Grider
8caa6d1266
Update README.md 2021-02-25 18:22:24 -08:00
aarongrider
3c870bcdc5 Add docs for Android Kotlin support 2021-02-25 10:07:48 -08:00
aarongrider
9f16c53509 Update readme for additional clarity 2021-02-23 10:07:42 -08:00
aarongrider
75edaf08c6 Default Camera to flex of 1 2021-02-04 15:55:47 -08:00
aarongrider
66f517599c Add permissions instructions to readme 2021-02-04 15:42:55 -08:00
aarongrider
2b74c5d71f Export CameraType from index 2021-02-04 15:33:42 -08:00
aarongrider
95781c9be2 Fix color props and update api 2021-01-11 11:16:40 -08:00
aarongrider
b909d01dfc Add torch mode 2021-01-09 13:12:53 -08:00
aarongrider
41f915d42f Refactor camera screen and fix bugs 2021-01-07 23:05:06 -08:00
aarongrider
dd597249c2 Add prop to show capture count 2021-01-05 16:38:30 -08:00
aarongrider
0cb607e51b Update readme 2021-01-05 16:06:42 -08:00
aarongrider
2594fd4f03 Implement zoom mode toggle for Android 2021-01-05 15:39:04 -08:00
aarongrider
ab1f181961 Revert change to ref doc, this method of passing ref is easier to understand 2021-01-05 12:16:36 -08:00
aarongrider
c5f96c763f Update docs to reflect zoomMode stubbed prop 2021-01-05 12:14:21 -08:00
aarongrider
c3b62afba7 iOS: Update api 2021-01-04 14:45:03 -08:00
Aaron Grider
0e6eaf0324
Update README.md
Co-authored-by: Seph Soliman <scarlac@gmail.com>
2020-12-06 22:42:35 -08:00