Marc Rousavy
48da1819fc
feat: Custom Orientation ( #715 )
...
* feat: Custom Orientation
* Update CameraView.swift
* Update CameraView.swift
* Try outputRotation approach
* whoops
* fix: Refactor `VideoCapture` instance
* Update orientation in didSetProps
* Update Orientation in iOS
* expose to objc
* Fix Orientation values
* format
2022-01-04 16:57:40 +01:00
Marc Rousavy
dbfdf82c67
Update Podfile.lock
2022-01-04 09:19:21 +01:00
Marc Rousavy
adb2115d3b
Update build.gradle
2022-01-04 08:49:46 +01:00
Marc Rousavy
f4d58412a6
chore: release 2.11.1
2022-01-03 13:20:10 +01:00
Marc Rousavy
675dec5ab3
fix: Resolve node_modules/
better ( #706 )
...
* fix: Use `rootDir` instead of `projectDir`
* Revert "fix: Use `rootDir` instead of `projectDir`"
This reverts commit 058e0a110bcf9b688e12a1cccbac2f23a29fa55c.
* fix: Find node_modules path where react-native/ lives
* fix: Figure out VisionCameraExample project
* Revert "fix: Figure out VisionCameraExample project"
This reverts commit 7ca455098244dd62280d40586062803d1ccc2c5f.
2022-01-03 13:18:38 +01:00
Marc Rousavy
1c09ded57e
chore: Log target JSI Runtime
2022-01-03 13:06:21 +01:00
Marc Rousavy
d2dbcdd09d
feat: Monorepo support ( #704 )
...
* fix: Find node_modules dynamically
* Update build.gradle
* Update build.gradle
* fix: Remove `findNodeModulePath` function
2022-01-03 12:23:19 +01:00
Marc Rousavy
fc4ed60f7c
fix: Fix REA detection to build Frame Processors ( #703 )
...
* fix: Fix REA detection
* fix: Detect REA v2 only
* cleanup logic
* Log whether Frame Processors are enabled or disabled
* Log warn instead of info
* use plugin.js to check
* log more precisely
* try ctor
* Revert "try ctor"
This reverts commit bb6110a119428451389d75896234a9935c48d75b.
* fix: Fix log order
* fix: Fix dumb boolean conversion. ffs.
* Update build.gradle
* fix: Remove `VisionCamera_disableFrameProcessors=false` flag
2022-01-03 11:54:32 +01:00
Marc Rousavy
1d27f6a06b
fix: Fix crash after Activity is destroyed
...
Fixes #664
2022-01-03 09:30:40 +01:00
Marc Rousavy
db2a883259
Update package.json
2022-01-02 18:23:44 +01:00
Marc Rousavy
9d3665d7b8
chore(deps): Upgrade docs deps ( #697 )
...
* chore(deps): Upgrade deps (docs)
* Update package.json
* Update yarn.lock
2022-01-02 18:06:19 +01:00
Marc Rousavy
8a87820078
chore: release 2.11.0
2022-01-02 18:02:22 +01:00
Marc Rousavy
be5ec69b02
feat: Make Reanimated optional (disable Frame Processors if REA v2 is not installed) ( #412 )
...
* Fix building iOS without Reanimated
* Conditionally compile Frame Processors (gradle)
* Conditionally use externalNativeBuild
* Remove Reanimated import
* fix: Conditionally load REA/VisionCamera libraries
* fix: Add disable FP to docs
* fix: Fix dummy placeholder for Scheduler.mm
* fix: Fix dummy `Scheduler` declaration
* fix: Only init `CameraView` C++ side if frame processors are enabled
* fix: Install JSI Bindings on Frame Processor Manager ctor
* fix: Wrong conditional
* whoops
2022-01-02 17:35:26 +01:00
Marc Rousavy
77e065d961
fix: Fix Android build on React Native 0.65 and older ( #694 )
...
* fix: Fix Android build on React Native 0.65 and older
* fix: Add excludes
* fix: Ignore META-INF from package
* fix: Wrong var name
2022-01-02 16:25:43 +01:00
Janic Duplessis
dcbbae5fc7
fix: Re-install Frame Processor JSI Bindings after Reload ( #691 )
2022-01-02 16:02:17 +01:00
Janic Duplessis
4584d33921
fix: Fix JNI crash in FrameHostObject dtor ( #689 )
2022-01-02 15:57:15 +01:00
Marc Rousavy
e8a8e71a76
fix: Fix Frame.bytesPerRow
showing wrong values on iOS ( #688 )
2021-12-31 16:59:05 +01:00
Marc Rousavy
dd7fc0880e
fix: Make videoCodec
clearly iOS only
2021-12-31 12:33:21 +01:00
Daniel
5bbe2bfbab
docs: Update compileSdkVersion and targetSdkVersion ( #585 )
...
SDK version 31 required after 8d24e344c9
2021-12-30 11:39:38 +01:00
Marc Rousavy
68707322fe
feat: Use new CameraX Recorder API (Upgrade CameraX to alpha12/32) ( #543 )
...
* chore(deps): Upgrade CameraX to alpha10/30
* chore(deps): Add first stable CameraX Video library
* feat: Use new CameraX Video API
* chore(deps): Upgrade CameraX from 10 -> 12
* fix: Replace deprecated APIs
* Update CameraViewModule.kt
* fix: Fix file creation
2021-12-30 11:39:17 +01:00
Marc Rousavy
b72176fae9
fix: Re-install FP plugins on bundle reload ( #684 )
2021-12-30 11:38:54 +01:00
Paul Rostorp
d96c5863c9
feat: Video Codec Option for recording video ( #645 )
...
* add video codec value
* add types
* use `recommendedVideoSettings` method instead
* lint
* refactor for better readability
* add a method to get available codecs (ios)
* imrove tsDoc description of the videoCodec option
Co-authored-by: Marc Rousavy <marcrousavy@hotmail.com>
* ios format
Co-authored-by: Marc Rousavy <marcrousavy@hotmail.com>
2021-12-30 10:47:23 +01:00
Marc Rousavy
7460560323
Update Podfile.lock
2021-12-30 10:43:33 +01:00
Marc Rousavy
a3cfcc2908
Remove conditional downcast
2021-12-30 10:34:46 +01:00
Hirbod
c2ba4fb1af
docs: Update Zooming code link ( #661 )
...
Change example link from fixed commit to master (this prevents copying old/non-working code)
2021-12-30 10:10:15 +01:00
dependabot[bot]
b10ca27daa
chore(deps-dev): bump docusaurus-plugin-typedoc in /docs ( #649 )
...
Bumps [docusaurus-plugin-typedoc](https://github.com/tgreyuk/typedoc-plugin-markdown/tree/HEAD/packages/docusaurus-plugin-typedoc ) from 0.16.3 to 0.16.6.
- [Release notes](https://github.com/tgreyuk/typedoc-plugin-markdown/releases )
- [Changelog](https://github.com/tgreyuk/typedoc-plugin-markdown/blob/master/packages/docusaurus-plugin-typedoc/CHANGELOG.md )
- [Commits](https://github.com/tgreyuk/typedoc-plugin-markdown/commits/docusaurus-plugin-typedoc@0.16.6/packages/docusaurus-plugin-typedoc )
---
updated-dependencies:
- dependency-name: docusaurus-plugin-typedoc
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-13 17:01:21 +01:00
Janic Duplessis
04576db975
fix: Fix extract tasks being added to clean tasks ( #644 )
2021-12-13 09:32:10 +01:00
Marc Rousavy
138c3f9a9a
chore: release 2.10.0
2021-12-10 09:58:33 +01:00
Marc Rousavy
6319e5cc49
fix: Fix torch staying on after recording a video ( #584 )
2021-12-10 09:57:05 +01:00
Marc Rousavy
1249cde337
fix: Fix gradle build with wrong task-name and order
2021-12-10 09:53:12 +01:00
Marc Rousavy
934de142ee
docs: Update Format.pixelFormat
documentation
2021-12-10 09:52:40 +01:00
Marc Rousavy
9301430165
chore: Lint
2021-12-10 09:44:54 +01:00
Thomas Coldwell
c3039c94c6
feat: Add pixelFormat
field ( #559 )
...
* Add `mediaSubType` field to device formats
* Create FourCharCode `toString` extension
* Move pixelFormat -> `AVCaptureDevice.Format+toDictionary`
* `mediaSubType` -> `pixelFormat` + non-optional
* ts pixelFormat `string` -> specific formats
* Add default pixelFormat value of `420v` on Android
Co-authored-by: tcoldwell72 <31568400+tcoldwell72@users.noreply.github.com>
2021-12-10 09:44:30 +01:00
Marc Rousavy
a54ff5782c
chore: release 2.9.4
2021-11-23 15:48:34 +01:00
Marc Rousavy
6025367c72
fix: Fix duplicate JHashMap
definition by moving to custom namespace ( #610 )
...
Technically `JHashMap` is duplicated now, but in separate namespaces. If I were to remove my `JHashMap` (and `JArrayList`) definitions, the user is forced to use fbjni v3.
2021-11-23 15:48:07 +01:00
Marc Rousavy
7206a794a9
chore: release 2.9.3
2021-10-14 12:47:45 +02:00
Marc Rousavy
c007a08040
fix: Fix ProGuard stripping away FrameProcessorPlugin
2021-10-14 12:47:28 +02:00
Marc Rousavy
c47639d86a
fix: Fix possible null-pointer error in convertJNIObjectToJSIValue
2021-10-14 12:46:42 +02:00
Marc Rousavy
bb0a09d2a1
chore: release 2.9.2
2021-10-13 15:18:56 +02:00
Marc Rousavy
0058b52cbf
fix: Fix "Folly" include ( #273 )
...
* fix: Fix "folly" header not found by including the header search path
* cleanup
2021-10-13 15:18:11 +02:00
Marc Rousavy
1f4d188c52
fix: Fix Example app's exported
property
2021-10-13 10:31:22 +02:00
Marc Rousavy
3315f51faf
chore: release 2.9.1
2021-10-11 20:46:13 +02:00
Marc Rousavy
1cf4f110f4
chore: Rebuild lockfiles
2021-10-11 18:34:42 +02:00
dependabot[bot]
f57daf2177
chore(deps): bump @react-native-community/slider in /example ( #512 )
...
Bumps [@react-native-community/slider](https://github.com/callstack/react-native-slider ) from 4.1.7 to 4.1.8.
- [Release notes](https://github.com/callstack/react-native-slider/releases )
- [Commits](https://github.com/callstack/react-native-slider/compare/v4.1.7...v4.1.8 )
---
updated-dependencies:
- dependency-name: "@react-native-community/slider"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-11 18:33:17 +02:00
dependabot[bot]
7bf5edfbc2
chore(deps-dev): bump @expo/config-plugins from 4.0.0 to 4.0.2 ( #504 )
...
Bumps [@expo/config-plugins](https://github.com/expo/expo-cli/tree/HEAD/packages/config-plugins ) from 4.0.0 to 4.0.2.
- [Release notes](https://github.com/expo/expo-cli/releases )
- [Changelog](https://github.com/expo/expo-cli/blob/master/CHANGELOG.md )
- [Commits](https://github.com/expo/expo-cli/commits/@expo/config-plugins@4.0.2/packages/config-plugins )
---
updated-dependencies:
- dependency-name: "@expo/config-plugins"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-11 18:31:22 +02:00
dependabot[bot]
8652c6e157
chore(deps): bump @react-navigation/native-stack in /example ( #505 )
...
Bumps [@react-navigation/native-stack](https://github.com/react-navigation/react-navigation/tree/HEAD/packages/native-stack ) from 6.2.2 to 6.2.3.
- [Release notes](https://github.com/react-navigation/react-navigation/releases )
- [Changelog](https://github.com/react-navigation/react-navigation/blob/main/packages/native-stack/CHANGELOG.md )
- [Commits](https://github.com/react-navigation/react-navigation/commits/@react-navigation/native-stack@6.2.3/packages/native-stack )
---
updated-dependencies:
- dependency-name: "@react-navigation/native-stack"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-11 18:30:58 +02:00
dependabot[bot]
7e426a1244
chore(deps-dev): bump @babel/core from 7.15.5 to 7.15.8 in /example ( #507 )
...
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) from 7.15.5 to 7.15.8.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.15.8/packages/babel-core )
---
updated-dependencies:
- dependency-name: "@babel/core"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-11 18:29:27 +02:00
dependabot[bot]
0fe3ca9691
chore(deps): bump @react-native-community/cameraroll in /example ( #508 )
...
Bumps [@react-native-community/cameraroll](https://github.com/react-native-community/react-native-cameraroll ) from 4.0.4 to 4.1.1.
- [Release notes](https://github.com/react-native-community/react-native-cameraroll/releases )
- [Changelog](https://github.com/react-native-cameraroll/react-native-cameraroll/blob/master/.releaserc )
- [Commits](https://github.com/react-native-community/react-native-cameraroll/compare/v4.0.4...v4.1.1 )
---
updated-dependencies:
- dependency-name: "@react-native-community/cameraroll"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-11 18:29:12 +02:00
dependabot[bot]
007cf8f72a
chore(deps-dev): bump typedoc-plugin-markdown in /docs ( #509 )
...
Bumps [typedoc-plugin-markdown](https://github.com/tgreyuk/typedoc-plugin-markdown/tree/HEAD/packages/typedoc-plugin-markdown ) from 3.11.2 to 3.11.3.
- [Release notes](https://github.com/tgreyuk/typedoc-plugin-markdown/releases )
- [Changelog](https://github.com/tgreyuk/typedoc-plugin-markdown/blob/master/packages/typedoc-plugin-markdown/CHANGELOG.md )
- [Commits](https://github.com/tgreyuk/typedoc-plugin-markdown/commits/typedoc-plugin-markdown@3.11.3/packages/typedoc-plugin-markdown )
---
updated-dependencies:
- dependency-name: typedoc-plugin-markdown
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-11 18:29:02 +02:00
dependabot[bot]
565706b8ca
chore(deps): bump @react-navigation/native in /example ( #510 )
...
Bumps [@react-navigation/native](https://github.com/react-navigation/react-navigation/tree/HEAD/packages/native ) from 6.0.4 to 6.0.5.
- [Release notes](https://github.com/react-navigation/react-navigation/releases )
- [Changelog](https://github.com/react-navigation/react-navigation/blob/main/packages/native/CHANGELOG.md )
- [Commits](https://github.com/react-navigation/react-navigation/commits/@react-navigation/native@6.0.5/packages/native )
---
updated-dependencies:
- dependency-name: "@react-navigation/native"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-11 18:28:43 +02:00