Commit Graph

890 Commits

Author SHA1 Message Date
Marc Rousavy
1c32726ef6
fix: Throw JS errors if JSI <-> JNI conversion failed (#324) 2021-08-05 10:10:49 +02:00
Marc Rousavy
25ab5382c1 chore: release 2.4.2-beta.13 2021-08-05 09:44:49 +02:00
Marc Rousavy
b493576373
fix: Fix java.lang.NoSuchMethodError error for .toArrayList() (#322)
* fix: Fix `java.lang.NoSuchMethodError` error for `.toArrayList()`

* Fix `HashMap<K, V>` conversion to `jsi::Object`

* Update FRAME_PROCESSORS_CREATE_OVERVIEW.mdx
2021-08-04 16:07:08 +02:00
Marc Rousavy
c5979688c8 chore: Lint Swift 2021-08-03 12:01:39 +02:00
Marc Rousavy
c078cdf933 feat: Correctly get videoDimensions on devices below iOS 13 2021-08-03 10:37:48 +02:00
Marc Rousavy
aaecb90937
fix: Fix dead link in parallel-video-processing-not-supported error 2021-08-02 11:21:23 +02:00
Marc Rousavy
43f5a735a5 chore: release 2.4.2-beta.12 2021-08-01 15:30:10 +02:00
Marc Rousavy
0f7ee51333
feat: Add console logging support for Frame Processors (#297)
* Try to log to console via runOnJS

* Call `console.log`

* Create custom `VisionCameraScheduler`

* Fix scheduler call

* Call with this

* Fix console setting

* Move J---- to `java-bindings`

* c++ style

* Android: 1/2 Create custom Scheduler

* Android: 2/2 Use custom Scheduler

* Don't use `runOnJS`, use `__callAsync` directly
2021-07-30 10:27:45 +02:00
Marc Rousavy
123d0d9e9c
chore(deps): Upgrade react-native-reanimated to alpha.2 (#309)
* Upgrade react-native-reanimated to alpha.2

* fix Android header search path

* Make `const`
2021-07-30 09:50:09 +02:00
Marc Rousavy
445af943c3
feat: BREAKING CHANGE: Express zoom factor always in actual factor value (1, 2, 128, ...) instead of 0.0-1.0 scale (#306)
* Make `zoom` go on "factor" scale

* Clean up `zoom` code

* fix float conversion

* fix zoom interpretation

* Update docs for new zoom scale

* fix float conversion
2021-07-29 11:44:22 +02:00
Marc Rousavy
6e2dc4e73b
Update ZOOMING.mdx 2021-07-29 10:54:56 +02:00
Marc Rousavy
2856aa11f9
Update DEVICES.mdx 2021-07-29 10:52:39 +02:00
Marc Rousavy
6056979253
Update DEVICES.mdx 2021-07-29 10:52:05 +02:00
Marc Rousavy
87a5af87ad
Update DEVICES.mdx 2021-07-29 10:49:32 +02:00
Marc Rousavy
b8b1a5c547 docs: Improve CameraDevices documentation 2021-07-29 10:14:50 +02:00
Marc Rousavy
cbcde138fb
Update FRAME_PROCESSORS.mdx 2021-07-26 15:41:03 +02:00
Marc Rousavy
070d00718c
docs: Add examples for supportsParallelVideoProcessing 2021-07-26 15:37:55 +02:00
Marc Rousavy
bdad8c1295
Update SETUP.mdx 2021-07-26 15:32:43 +02:00
Marc Rousavy
39b16e60e4 chore: Also show dependency upgrades in release notes 2021-07-26 11:38:12 +02:00
Marc Rousavy
0c2ffd51d5 chore: release 2.4.2-beta.11 2021-07-26 11:33:56 +02:00
Marc Rousavy
ef455df865
feat: Support rotation (#301)
* feat: Android: Listen to rotation changes

* Only change rotation on configuration change

* feat: iOS: Support Rotation

* Swift lint
2021-07-26 11:32:58 +02:00
Marc Rousavy
159ff44de3
chore(deps): Upgrade CameraX to 7 (#300) 2021-07-26 10:23:18 +02:00
Marc Rousavy
d9233208a8 fix: Remove RCTTurboModuleBlockCopyEnabled() 2021-07-26 10:12:26 +02:00
Bartosz Kaszubowski
0569c065bc
chore: fix the permission issue for dependabot (#286)
* attempt to fix the permission issue for dependabot

* move permissions to the job scope
2021-07-26 09:42:51 +02:00
Marc Rousavy
eeb8da91cc chore: release 2.4.2-beta.10 2021-07-23 14:29:59 +02:00
Marc Rousavy
5eaed05f47
fix: Fix "REACT_NATIVE_UTILS_LIB not found" build error (#295)
* Remove `REACT_NATIVE_UTILS_LIB`

* Clean up CMakeLists.txt
2021-07-23 14:28:38 +02:00
Marc Rousavy
01104e0932 Update BUG_REPORT.yml 2021-07-14 13:57:09 +02:00
Marc Rousavy
22ed8ecbcc chore: Use device for BUG REPORT 2021-07-14 13:55:53 +02:00
Marc Rousavy
b222acc331 chore: Update CONTRIBUTING guidelines 2021-07-14 13:17:16 +02:00
Bartosz Kaszubowski
4dac6061c3
chore: cleanup the ESLint setup (#276) 2021-07-14 13:04:17 +02:00
Marc Rousavy
64c105b369 Update FEATURE_REQUEST.yml 2021-07-14 11:34:09 +02:00
Marc Rousavy
3f819c9e93 Update QUESTION.yml 2021-07-14 11:33:16 +02:00
Marc Rousavy
292883ce76 Update QUESTION.yml 2021-07-14 11:31:57 +02:00
Marc Rousavy
f7a1961d6b update issue templates 2021-07-14 11:31:03 +02:00
Marc Rousavy
f840ce2cd4 docs: Make Feature Request an issue template 2021-07-14 11:23:56 +02:00
Marc Rousavy
56a723a1a7
Update config.yml 2021-07-14 11:18:35 +02:00
Marc Rousavy
c653fddec1
Update BUG_REPORT.yml 2021-07-14 11:17:32 +02:00
Marc Rousavy
3f3a2ec5ae
Update BUG_REPORT.yml 2021-07-14 11:09:35 +02:00
Marc Rousavy
1e0c29a8e3
Update BUG_REPORT.yml 2021-07-14 11:09:15 +02:00
Marc Rousavy
05597f86e0
Update BUG_REPORT.yml 2021-07-14 11:08:54 +02:00
Marc Rousavy
6418b0f920
Update BUG_REPORT.yml 2021-07-14 11:08:43 +02:00
Marc Rousavy
901339aaf3
Update BUG_REPORT.yml 2021-07-14 11:07:55 +02:00
Marc Rousavy
a14350b60b
Update BUG_REPORT.yml 2021-07-14 11:04:41 +02:00
Marc Rousavy
76e92121af
Delete BUG_REPORT.md 2021-07-14 11:03:48 +02:00
Marc Rousavy
4d900e144d
Create config.yml 2021-07-14 11:03:24 +02:00
Marc Rousavy
0e420ce60c
Create BUG_REPORT.yml 2021-07-14 11:00:26 +02:00
Marc Rousavy
61cef7526f
fix: Fix expo plugin import path 2021-07-12 18:02:28 +02:00
Marc Rousavy
4b4ea0ff33
fix: Fix UI Thread race condition in setFrameProcessor(...) (#265)
* fix: Fix UI Thread race condition in `setFrameProcessor(...)`

* Revert "fix: Fix UI Thread race condition in `setFrameProcessor(...)`"

This reverts commit 9c524e123cff6843d7d11db602a5027d1bb06b4b.

* Use `setImmediate` to call `setFrameProcessor(...)`

* Fix frame processor order of applying

* Add `enableFrameProcessor` prop that defines if a FP is added

* rename constant

* Implement `enableFrameProcessor` prop for Android and make `frameProcessorFps` faster

* link to troubleshooting guide

* Update TROUBLESHOOTING.mdx

* Add logs for use-cases

* fix log

* set initial frame processor in `onLayout` instead of `componentDidMount`
2021-07-12 15:16:03 +02:00
Marc Rousavy
7acae0c8a8 chore: release 2.4.2-beta.9 2021-07-12 08:53:03 +02:00
Marc Rousavy
e8a9a43064 fix: Fix app.plugin.js not being included in npm package 2021-07-12 08:52:31 +02:00