Commit Graph

21 Commits

Author SHA1 Message Date
Marcos Rodriguez Velez
1e1921223b add mac catalyst support 2025-02-25 23:08:14 -04:00
Seph Soliman
2376770cf6
Merge branch 'master' into @wolewicki/add-new-arch 2024-11-14 13:46:25 -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
Wojciech Lewicki
0e15019377
feat: add support for new arch 2024-08-06 11:35:56 +02: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
Imdad Ismail
234e7f89eb
added code format to see type of code scanned (#633)
* added code format to see type of code scanned

* Update ios/ReactNativeCameraKit/SimulatorCamera.swift

Changed supported barcode types to list of CodeFormat

Co-authored-by: David Bertet <11665957+DavidBertet@users.noreply.github.com>

* Update android/src/main/java/com/rncamerakit/CodeFormat.kt

Added annotation for int type

Co-authored-by: David Bertet <11665957+DavidBertet@users.noreply.github.com>

* Added CodeFormat types and fixed an indentation on a function to match other functions

* Replaced AVMetadataObject with CodeFormat in all files

* Updated code format to case Iterable and changed supportedBarcodeType to code format cases

* Update src/Camera.d.ts

---------

Co-authored-by: David Bertet <11665957+DavidBertet@users.noreply.github.com>
Co-authored-by: Seph Soliman <github@seph.dk>
2024-04-30 16:18:00 -07:00
David Bertet
a13aa787c4
Add iOS linter & report issues on PR (#634)
* Add iOS linter & report issues on PR

* Fix lint errors

---------

Co-authored-by: Seph Soliman <github@seph.dk>
2024-04-30 16:10:07 -07:00
David Bertet
00c461a144
Return height/width of capture (#646)
To be consistent with Android
2024-04-30 12:14:00 -07:00
Seph Soliman
c4ac4a00d6 Fixed focusMode and zoomMode not being enabled by default 2023-07-25 09:57:31 -07:00
Seph Soliman
0b27dca950 Removed thumb saving until we have thumbnail sizing support in RN API 2023-07-20 09:59:18 -07:00
Seph Soliman
cef327470c Added expo-file-system support (moveAsync() will now work)
Temp photos now stored as ~/Library/Caches/<bundleid>/<libraryid>/*.jpg
2023-07-19 18:34:30 -07:00
Seph Soliman
f58bc77ef1 Added zoom control
Added max zoom control
Added onZoom handler
2023-07-12 18:12:33 -07:00
David Bertet
fedec20b26 Remove extensions & unused pinch velocity 2023-07-06 00:39:20 -07:00
David Bertet
231bb301b3 Try to match native app pinch to zoom 2023-07-05 01:11:08 -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
fee756b55c Fixed orientation issues for both orientation locked and rotated UIs
Added support for thumbnails (for later)
Fixed default zoom to be wide angle camera instead of ultra wide
2023-07-03 20:21:20 -07:00
Seph Soliman
37737ace6f Rewrote example project
Using hooks/functional components
Fixed zoom on second pinch
Fixed orientation issues
Added support for new ultra wide camera (fix blurry close ups)
2023-07-03 20:21:11 -07:00
David Bertet
a23aa47fa7 Remove prints & signpost 2023-06-30 00:29:36 -07:00
David Bertet
d730a76051 Fix small issues, throttle scanner 2023-06-30 00:24:37 -07:00
David Bertet
bdbfac1f33 Swift migration & rewrite 2023-06-27 21:21:18 -07:00