Skip to content

Releases: teslamotors/react-native-camera-kit

v14.0.0-beta4

19 Jul 23:46
Compare
Choose a tag to compare
v14.0.0-beta4 Pre-release
Pre-release

Breaking changes

  • Removed the CameraScreen component. Copy-paste the example/src/CameraExample.tsx file to get a good replacement starting point.
    Why? We kept getting feature requests, and it's not possible for us to design and create a generic, good-looking UI that fits all use cases. The ultimate feature set for the CameraScreen component was effectively just the Camera component, thus it made sense to remove it.
  • Objective-C -> Swift migration. May break things unintentionally
  • showFrame is now positioned differently than before on Android (centered)
  • setTorchMode was removed as it was un-React like. Please use the declarative torchMode="on" instead
  • Pinch to zoom behavior changed slightly. While not technically breaking, it changes the camera zoom behavior. Override the behavior using the new zoom and onZoom if you want to customize how fast it zooms

What's Changed

  • Objective-C -> Swift migration by @DavidBertet in #547
  • Added zoom={1.0} prop that controls zoom by @scarlac in #559
  • Added onZoom={e => e.nativeEvent.zoom} prop event handler that triggers when users pinch to zoom
  • Fixed #517. iOS simulator pictures are PNG instead of JPEG by @DavidBertet in #548
  • Fixed preview and capture orientation on iOS when device orientation lock is on (it will now use the accelerometer when possible, defaulting to the interface orientation)
  • Update example to react native ^0.71.0 by @DavidBertet in #544
  • Improve type definition & README by @DavidBertet in #545
  • Bump fast-xml-parser from 4.2.2 to 4.2.4 in /example by @dependabot in #549
  • Fix: Correct onScale method signature in CKCamera.kt by @coreyphillips in #551
  • Bump semver from 5.7.1 to 5.7.2 by @dependabot in #558
  • Bump semver from 5.7.1 to 5.7.2 in /example by @dependabot in #557
  • Bump fast-xml-parser from 4.2.4 to 4.2.5 in /example by @dependabot in #555
  • Bump word-wrap from 1.2.3 to 1.2.4 by @dependabot in #563

New Contributors

Full Changelog: v14.0.0-beta3...v14.0.0-beta4

v14.0.0-beta3

23 May 17:01
Compare
Choose a tag to compare
v14.0.0-beta3 Pre-release
Pre-release

Bug Fixes:

Security Updates

New Contributors

Full Changelog: v13.0.0...v14.0.0-beta3

v14.0.0-beta2

05 Oct 22:24
Compare
Choose a tag to compare
v14.0.0-beta2 Pre-release
Pre-release

Breaking changes

  • Removed camera permission request on iOS and Android. This was removed due to the complexity of managing permissions on both platforms and it caused issues for some users. Using a separate permission library like zoontek's react-native-permissions is more flexible and you get to control when to prompt, show advanced dialogs, see what the status of the permission is, and re-prompt appropriately.
  • Temporary path moved to "Caches" directory. This helps users of Expo's expo-file-system library which only allows managing files in either Documents/ or Library/Caches directories.

Full Changelog: v13.0.0...v14.0.0-beta2

v14.0.0-beta1

16 Sep 16:35
Compare
Choose a tag to compare
v14.0.0-beta1 Pre-release
Pre-release

Breaking changes

  • Removed camera permission request on iOS and Android. This was removed due to the complexity of managing permissions on both platforms and it caused issues for some users. Using a separate permission library like zoontek's react-native-permissions is more flexible and you get to control when to prompt, show advanced dialogs, see what the status of the permission is, and re-prompt appropriately.

Full Changelog: v13.0.0...v14.0.0-beta1

v13.0.0

29 Aug 18:31
edfa423
Compare
Choose a tag to compare

What's Changed

Breaking changes

New Contributors

Full Changelog: v12.1.0...v13.0.0

v12.1.0

08 Apr 17:50
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v12.0.0...v12.1.0

v12.0.0

14 Dec 22:16
e208e47
Compare
Choose a tag to compare

What's Changed

  • TypeScript 4.2
  • Added more types
  • Android build fixes
  • Added saveToCameraRoll for Android
  • Removed Android dependency on com.google.zxing:core and androidx.core:core-ktx
  • Fixed Android media type being jpg instead of jpeg (@Syar-tech and @AlexKLWS)

New Contributors

Full Changelog: v11.2.0...v12.0.0

v12.0.0-beta3

08 Jun 23:51
Compare
Choose a tag to compare
v12.0.0-beta3 Pre-release
Pre-release

TypeScript 4.2, saveToCameraRoll for Android and more

v11.2.0

27 May 16:07
Compare
Choose a tag to compare

Whats new:

  • Adding null safety check on RNCameraKitModule - Thanks @bruce-acloset
  • Updated Camera object to be instance of forwardRef function - Thanks @kshahzada
  • Added onOrientationChange callback - Thanks @scarlac

Bug Fixes

  • Reenable Bottom Left Bottom Button

Maintenance

  • Bump dependencies

Note: v11.2.1 is the same as v11.2.0

v11.1.0

25 Feb 18:43
b4daacf
Compare
Choose a tag to compare

Whats new:

  • Updates to readme
  • CI Improvements
  • Update Gradle version - Thanks @EwoutH

Bug Fixes

  • Fixed missing left button on CameraScreen
  • Fixed Xcode 12 compatibility and podspec versioning - Thanks @nvojnovic!