Commit Graph

1128 Commits

Author SHA1 Message Date
Ivan Vershigora
1371773530
fix: catch error in cameraProviderFuture.get() 2025-12-29 18:48:17 +00: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
Seph Soliman
e3c93b9b88 Fixed torch not being enabled on startup #593 2025-09-09 18:25:01 -07:00
Seph Soliman
e0a4c5f39d v16.1.1 2025-09-09 14:23:58 -07:00
Seph Soliman
dcb94f4dcc
Merge pull request #745 from lukebars/master
fix: remove orientation listener on camera unmount
2025-09-09 14:03:42 -07:00
Seph Soliman
224ca7d0c2 v16.1.0 2025-09-09 13:36:24 -07:00
Seph Soliman
8634e69b8d
Merge pull request #746 from teslamotors/new-arch-no-included-codegen
Fixed support for RN 0.76 and other older RN versions
2025-09-09 13:16:53 -07:00
Seph Soliman
84d11bfc58 Fixed support for RN 0.76 and other older RN versions
Removed includesGeneratedCode since it's unreliable and is temporary
Added new/old arch code split for Android
2025-09-09 13:15:50 -07:00
Lukas Baranauskas
af4cf16618 fix: remove orientation listener on camera unmount 2025-09-09 06:55:15 +00:00
Seph Soliman
9ef0601144
Merge pull request #739 from gargwork321/add-capture-size
Add file size (bytes) to capture() result on Android
2025-09-08 13:43:57 -07:00
Seph Soliman
bc835ec117 v16.0.1 2025-09-05 14:01:02 -07:00
Seph Soliman
697ecb1b6b Fixed #742 - Regression in v16.0.0 with apps with USE_FRAMEWORKS 2025-09-05 14:00:19 -07:00
Seph Soliman
a3c6cb57f2 fix bug template 2025-09-05 13:49:21 -07:00
Seph Soliman
16e7d99dae Fixed indentation of bug report template 2025-09-05 13:48:51 -07:00
Seph Soliman
42b3ef3894 new bug template 2025-09-05 13:47:40 -07:00
Seph Soliman
ce1d031ad9 v16.0.0 2025-09-04 16:23:10 -07:00
Seph Soliman
934e35eed6
Merge pull request #741 from teslamotors/fabric-migration
Fixed new arch support
2025-09-04 16:21:57 -07:00
Seph Soliman
9a41d1c8ae Fixed SafeAreaView dummy support on iOS
Fixed zoom issue
Fixed Fabric (new arch) compile issues on both platforms
Fixed included broken codegen lib code
Fixed broken .h import paths to avoid setting custom build settings
Fixed potential memory issue by disabling view recycling
Added Fabric (new arch) support for camera view component
Added RN 0.81 for example
Added RN 0.79 for main lib
Added helper for re-running codegen
Added gitignore for Android codegen making a podspec
Added support for scanThrottleDelay on Android
Added includesGeneratedCode to package.json to indicate changes
Rewrote optional int props to use -1 instead due to RN bug
Moved to Obj-C with C++ support (.mm) to avoid C++ compile issues
2025-09-04 15:38:29 -07:00
Vivek Garg
ca4023ed27
feat: add image file size to capture() result
On Android, the `capture()` method previously returned only the URI, width, height, and file name of the captured image. The actual file size in bytes was missing.
This change updates the Android implementation to compute the image size using `File.length()` once the photo is written to disk, and include it in the result object:
{
  uri: "file:///path/to/photo.jpg",
  width: 1080,
  height: 1920,
  name: "IMG_1234.jpg",
  size: 345678   // bytes
}

The update is backward-compatible and does not impact existing users. Developers can now directly access the file size from the capture result on Android without additional filesystem calls.
2025-09-01 19:55:41 +05:30
Seph Soliman
4f376b5d0f Added clarifying docs for zoomMode vs zoom 2025-08-28 10:52:35 -07:00
Seph Soliman
000c610e78
Merge pull request #738 from teslamotors/rn81
Upgraded example to RN 0.81
2025-08-26 18:43:55 -07:00
Seph Soliman
7089dd3735 Upgraded example to RN 0.81
Added consistent example styles
Added node requirement specification
Removed SafeAreaView
Added dummy SafeAreaView implementation
2025-08-26 18:29:52 -07:00
Seph Soliman
5e59d8a1fc
Merge pull request #731 from SmartArray/fix/rn-ios-0.80.0
Fix fabric layout issues in iOS on fresh React Native v0.80.0
2025-08-26 17:58:15 -07:00
Seph Soliman
a4fef76cd9
Merge pull request #734 from DavidBertet/fix/volume_button_memory_leak
fix: memory leak introduced in 21f7601
2025-08-26 16:03:18 -07:00
David Bertet
cee93fdff1 Fix memory leak introduced in 21f7601
Self is accessed within AVCaptureEventInteraction closure, which is stored in eventInteraction class variable, creating a retain cycle
Use [weak self] to break the cycle
21f760117b (diff-5011dc3d3aefd7b67661ffa11130868519526e31f62f630ebf6ddc2d7f714e09R128-R135)
2025-07-17 23:42:22 -07:00
Yoshi Jaeger
c70b91e385 fix(ios): give each view constraints according to new fabric behavior 2025-06-26 19:00:53 +02:00
Seph Soliman
29e5873633
Merge pull request #728 from WilliamWelsh/patch-1
Fix checking focusMode instead of zoomMode
2025-06-23 14:57:06 -07:00
William
8d76406553
Fix checking focusMode instead of zoomMode 2025-06-19 15:36:32 -05:00
Seph Soliman
827eac9fd9 v15.1.0 2025-06-09 16:48:42 -07:00
Seph Soliman
089fd73041 Fixed AVCaptureSession (2nd attempt)
Fixed iOS 13 compile errors
2025-06-09 16:46:02 -07:00
Seph Soliman
76d956a69a Fixed lint issues
Removed hidden StatusBar to fix under-camera UI on Android
Fixed missing execution bit on gradlew
2025-06-09 14:05:14 -07:00
Seph Soliman
978fe61556
Merge pull request #722 from aravind3566/aravind3566-camerax_version-bump
Upgrade CameraX Version from 1.1.0 to 1.4.2
2025-06-09 13:07:23 -07:00
Aravind 🇮🇳
7f6110ecd5
Bump camerax_version to 1.4.2 2025-06-02 15:10:56 +07:00
Seph Soliman
3abe9c91af v15.0.1 2025-04-24 14:45:01 -07:00
Seph Soliman
dd6c8ca504 Fixed Android build regression caused by #690 2025-04-24 14:44:08 -07:00
Seph Soliman
567c44c8b7 v15.0.0 2025-04-23 17:11:02 -07:00
Seph Soliman
ed64f2fc46 Fixed AVCaptureSession startRunning error
commit should always follow a begin
2025-04-23 15:56:09 -07:00
Seph Soliman
a0393f36cb
Merge pull request #690 from WoLewicki/@wolewicki/fix-booleans-and-add-missing-prop
Fixed how booleans are handled on new arch
Add missing missing prop for new arch (barcodeFrameSize, maxPhotoQualityPrioritization)
2025-04-01 12:13:45 -07:00
Wojciech Lewicki
438d4c2f53
fix: maxPhotoQualityPrioritization and add barcode prop on new arch 2025-04-01 16:24:14 +02:00
Wojciech Lewicki
589c251888
Merge branch 'master' into @wolewicki/fix-booleans-and-add-missing-prop 2025-04-01 13:08:53 +02:00
Seph Soliman
bce9be11a9
Merge pull request #710 from jlapp9/fix/android-aspect-ratio
Use the view finder's dimensions instead of the whole screen's to determine the photo aspect ratio
2025-03-31 09:59:34 -07:00