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]
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
Marc Rousavy
2cf8087ad6
Update Podfile.lock
2021-10-10 15:57:22 +02:00
Marc Rousavy
8d24e344c9
chore: Upgrade CameraX to alpha09 ( #472 )
...
* chore: Upgrade CameraX to alpha09
* Remove custom ProGuard file
It's no longer needed, CameraX now ships one.
* Set `targetSdkVersion` to `31`
* set `compileSdkVersion` to 31
* Add `android:exported=false`
2021-10-07 12:20:21 +02:00
Marc Rousavy
bad9f99ac7
Update Info.plist
2021-10-07 10:30:31 +02:00
Marc Rousavy
916278d3ea
feat: Add React Native 0.66 support ( #490 )
...
* feat: Add React Native 0.66 support
* Generate lockfiles
* Update Podfile.lock
* chore: Migrate from react-native-navigation to react-navigation (#491 )
* Migrate RNN -> RN
* Migrate all screens
* Fix get permission status
* fix app name
* Update AppDelegate.m
* Fix Info.plist
* Set `UIViewControllerBasedStatusBarAppearance` to `YES`
* Only enable `audio` if user granted microphone permission
* Update App.tsx
* Fix RNGH for Android
* Use `navigate` instead of `push`
* Fix animation
* Upgrade @types/react-native
* "Splash" -> "PermissionsPage"
2021-10-05 12:22:14 +02:00
dependabot[bot]
45c37c87dd
chore(deps): bump react-native-screens from 3.7.2 to 3.8.0 in /example ( #479 )
...
Bumps [react-native-screens](https://github.com/software-mansion/react-native-screens ) from 3.7.2 to 3.8.0.
- [Release notes](https://github.com/software-mansion/react-native-screens/releases )
- [Commits](https://github.com/software-mansion/react-native-screens/compare/3.7.2...3.8.0 )
---
updated-dependencies:
- dependency-name: react-native-screens
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-05 10:39:23 +02:00
dependabot[bot]
979a72decc
chore(deps-dev): bump @types/react from 17.0.24 to 17.0.27 in /example ( #477 )
...
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ) from 17.0.24 to 17.0.27.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react )
---
updated-dependencies:
- dependency-name: "@types/react"
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-05 10:39:13 +02:00
dependabot[bot]
1714be8c05
chore(deps-dev): bump @types/react-native-vector-icons in /example ( #463 )
...
Bumps [@types/react-native-vector-icons](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-native-vector-icons ) from 6.4.8 to 6.4.9.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-native-vector-icons )
---
updated-dependencies:
- dependency-name: "@types/react-native-vector-icons"
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-09-29 12:31:55 +02:00
Marc Rousavy
60ea779ffe
fix: De-allocate frame
HybridClass with JNI class loader if using Hermes ( #455 )
...
* De-allocate `frame` HybridClass with JNI class loader if using Hermes
See 1b3a0c2612
* Don't wrap in `#if FOR_HERMES`, other `jsi::Runtime`s might also run GC on another Thread.
* Use `jni::local_ref` for `FrameHostObject`
* Update JImageProxyHostObject.cpp
* Only run with JNI `ClassLoader` if ctor Thread ID != dtor Thread ID
* Upgrade reanimated to 2.3.0-beta.1 to fix JNI crash
* Remove `this_thread::get_id()`
* Update Podfile.lock
2021-09-24 16:57:12 +02:00
Marc Rousavy
be3312e47d
chore: Upgrade kotlinx-coroutines 1.5.0 -> 1.5.2 ( #450 )
...
* chore: Upgrade kotlinx-coroutines 1.5.0 -> 1.5.2
* Upgrade `kotlinVersion` to 1.5.30
2021-09-23 14:22:11 +02:00
Marc Rousavy
e621422389
chore: Update Podfile.lock
2021-09-22 14:07:37 +02:00
Marc Rousavy
d3105fa207
chore: Upgrade a whole lotta dependencies ( #436 )
...
* chore: Upgrade a lot of dependencies for `./`
* chore: Upgrade a lot of dependencies for `./example`
* chore: Upgrade a lot of dependencies for `./docs`
* Use new `EventEmitter` syntax (`.remove()`)
* Update Podfile.lock
* docs: Use watch mode
* docs: Replace all relative links with absolute
* Fix all links
* Update docusaurus.config.js
* Upgrade docusaurus-plugin-typedoc to fix docs build
* Update yarn.lock
* Upgrade typescript to 4.4.3
* Fix error unknown
* Update package.json
* Upgrade typedoc
* Upgrade a few more deps
* Fix deprecated sidebar syntax
* Update Gemfile.lock
2021-09-22 13:58:59 +02:00
Antonio Sousa
1a4fd7a233
fix: Fix AppState.removeListener
warning by using new API ( #419 )
...
* refactor: suppress AppState.removeListener warning by deprecation
AppState.AddEventListener returns a remove function subscription,
which replaces the removeListener method
* fix: Property 'remove' does not exist on type 'void'
* chore: add missing trailing comma
* chore: update react-native static types version
2021-09-22 13:25:15 +02:00
Marc Rousavy
f9d46c53b2
chore: Add x86_64-darwin-19
platform to Gemfile.lock
2021-09-15 16:05:08 +02:00
Marc Rousavy
f6c188eccb
chore: Update cocoapods to 1.10.2
2021-09-15 16:03:10 +02:00
Antonio Sousa
76137751b8
fix: microphone persmission request wasn't appearing ( #418 )
2021-09-11 19:55:25 +02:00
Marc Rousavy
ad5e131f6a
feat: frameProcessorFps="auto"
and automatic performance suggestions (throttle or increase FPS) ( #393 )
...
* Add `onFrameProcessorPerformanceSuggestionAvailable` and make `frameProcessorFps` support `auto`
* Implement performance suggestion and auto-adjusting
* Fix FPS setting, evaluate correctly
* Floor suggested FPS
* Remove `console.log` for frame drop warnings.
* Swift format
* Use `30` magic number
* only call if FPS is different
* Update CameraView.swift
* Implement Android 1/2
* Cleanup
* Update `frameProcessorFps` if available
* Optimize `FrameProcessorPerformanceDataCollector` initialization
* Cache call
* Set frameProcessorFps directly (Kotlin setter)
* Don't suggest if same value
* Call suggestion every second
* reset time on set
* Always store 15 last samples
* reset counter too
* Update FrameProcessorPerformanceDataCollector.swift
* Update CameraView+RecordVideo.swift
* Update CameraView.kt
* iOS: Redesign evaluation
* Update CameraView+RecordVideo.swift
* Android: Redesign evaluation
* Update CameraView.kt
* Update REA to latest alpha and install RNScreens
* Fix frameProcessorFps updating
2021-09-06 16:27:16 +02:00
Marc Rousavy
5b570d611a
Update Podfile.lock
2021-09-06 11:22:50 +02:00
Marc Rousavy
9ccaf4fece
update lockfiles
2021-09-06 11:22:44 +02:00
Natalia
3b7560ac4d
fix: Fix Android tasks execution ( #407 )
2021-09-06 10:32:06 +02:00
Marc Rousavy
98128471cc
fix: Fix Proguard annotation for mHybridData
( #406 )
...
* fix: Fix Proguard annotation for `mHybridData`
* rebuild lockfiles
2021-09-05 11:24:33 +02:00
Marc Rousavy
f3e1df009e
chore: Upgrade react-native-navigation to 7.19.0 (example app) ( #387 )
2021-08-23 16:29:06 +02:00
Marc Rousavy
cae08a1402
feat: Add react-native 0.65 support ( #378 )
...
* fix `;`
* upgrade react-native to 0.65.1
* upgrade example to react-native 0.65.1
* Update Podfile.lock
* Update Podfile.lock
* add `jcenter()` temporarily
* upgrade gradle tools (kotlin, build-tools, swipe-to-refresh)
* Upgrade `react-native-navigation` to `7.18.1-snapshot.1611`
* chore(deps): Upgrade a few more deps
2021-08-20 11:53:40 +02:00
Marc Rousavy
a2293e858d
fix: Fix TypeScript relative imports ( #358 )
...
* fix: Fix TypeScript relative imports
* Decouple `example` from tsconfig
* fix ESLint config
* add lint-ci script
* move example running to workflow
* test ts
* test eslint
* test ts
* fix ESLint formatter
* Revert "fix ESLint formatter"
This reverts commit 21aca0dcdb54d4ce98b33d2b4f1decc18bc82e85.
* Revert "test ts"
This reverts commit becc346ad3d097b7d3570ebc8b5bf80390aadf87.
* Revert "test eslint"
This reverts commit 9c9f0b81bf3aa57188f550a34b2a8151e364f3b0.
* Revert "test ts"
This reverts commit 3cbe7200608910087b43e0d9cdae0917b0b4215e.
2021-08-16 10:45:41 +02:00
Bartosz Kaszubowski
d64f372aa3
chore: simplify example
ESLint setup ( #343 )
2021-08-09 09:20:02 +02:00
Marc Rousavy
39e072f280
chore: Update lockfiles
2021-08-06 11:10:11 +02:00
dependabot[bot]
b8b5398c30
chore(deps-dev): bump typescript from 4.3.2 to 4.3.5 in /example ( #244 )
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 4.3.2 to 4.3.5.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.3.2...v4.3.5 )
---
updated-dependencies:
- dependency-name: typescript
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-08-06 10:44:36 +02:00
dependabot[bot]
6dc9c1251a
chore(deps-dev): bump metro-config from 0.66.0 to 0.66.2 in /example ( #302 )
...
Bumps [metro-config](https://github.com/facebook/metro ) from 0.66.0 to 0.66.2.
- [Release notes](https://github.com/facebook/metro/releases )
- [Changelog](https://github.com/facebook/metro/blob/master/CHANGELOG.md )
- [Commits](https://github.com/facebook/metro/compare/v0.66.0...v0.66.2 )
---
updated-dependencies:
- dependency-name: metro-config
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-08-06 10:43:52 +02:00
dependabot[bot]
d7bc64d7ca
chore(deps-dev): bump @typescript-eslint/parser in /example ( #328 )
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 4.28.0 to 4.29.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.29.0/packages/parser )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
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-08-06 10:42:47 +02:00
dependabot[bot]
7cf86cad7c
chore(deps-dev): bump @typescript-eslint/eslint-plugin in /example ( #329 )
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 4.28.0 to 4.29.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.29.0/packages/eslint-plugin )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
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-08-06 10:40:22 +02:00
dependabot[bot]
6e406dbff1
chore(deps-dev): bump eslint from 7.29.0 to 7.32.0 in /example ( #319 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 7.29.0 to 7.32.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v7.29.0...v7.32.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
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-08-06 10:37:43 +02:00
dependabot[bot]
7d13340ceb
chore(deps-dev): bump @types/react-native in /example ( #270 )
...
Bumps [@types/react-native](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-native ) from 0.64.10 to 0.64.12.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-native )
---
updated-dependencies:
- dependency-name: "@types/react-native"
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-08-06 10:36:59 +02:00
Marc Rousavy
c078cdf933
feat: Correctly get videoDimensions
on devices below iOS 13
2021-08-03 10:37:48 +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
39b16e60e4
chore: Also show dependency upgrades in release notes
2021-07-26 11:38:12 +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
6f10188037
docs: Use Java in FPP "Overview" for simplicity ( #266 )
...
* Add android tab for docs
* Update FRAME_PROCESSORS_CREATE_OVERVIEW.mdx
* Add Objective-C
* Only use Java for examples (that's simpler to understand)
* Add Exceptions docs
2021-07-08 16:05:51 +02:00
dependabot[bot]
39fb4e0cd3
chore(deps-dev): bump metro-react-native-babel-preset in /example ( #247 )
...
Bumps [metro-react-native-babel-preset](https://github.com/facebook/metro ) from 0.66.0 to 0.66.1.
- [Release notes](https://github.com/facebook/metro/releases )
- [Changelog](https://github.com/facebook/metro/blob/master/CHANGELOG.md )
- [Commits](https://github.com/facebook/metro/compare/v0.66.0...v0.66.1 )
---
updated-dependencies:
- dependency-name: metro-react-native-babel-preset
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-07-07 16:20:57 +02:00
Marc Rousavy
2fa0f8fd46
chore: Clean up root directory ( #236 )
...
* Clean up root
* remove unused REA patches
* Remove `cpp/` and create headers per platform
* fix `#import`
* fix `VISION_CAMERA_DISABLE_FRAME_PROCESSORS`
2021-07-06 16:42:58 +02:00
Marc Rousavy
fa5f5c0cab
feat: Implement Frame.close()
( #229 )
...
* Implement `Frame.close()`
* close frame in dtor
* Update JImageProxyHostObject.cpp
* fix close
* Check if closed
* remove a few logs
* r
* fix `isValid` and `isReady`
* Add JImage
* Release JNI frame ref on destroy
* fix pod setup
* Fix isValid call
* Fix `close` not returning a function
* throw error if closed twice
* iOS: Schedule `console.error` call on JS thread
* Android: Log Frame Processor Error to JS
* fix syntax
* Check if valid `toString()`
* Update Frame.ts
* Remove `isReady`
* Fix JImage accessors
* remove `JImage` C++ sources
* Throw error if accessing props on closed Frame
* Delete `JImage.h`
2021-07-06 10:08:44 +02:00
Marc Rousavy
7d3b352155
perf: Avoid expensive CMSampleBuffer copy ( #235 )
...
* Don't copy CMSampleBuffer
* Update CameraView+RecordVideo.swift
* Update Podfile.lock
2021-07-06 09:25:11 +02:00
Marc Rousavy
d0764ada79
Update Podfile.lock
2021-06-28 20:51:12 +02:00
Marc Rousavy
7dddc0ae44
Update README.md
2021-06-28 13:54:16 +02:00
Marc Rousavy
d54358ac10
fix: Remove patch-package
2021-06-28 12:26:39 +02:00
Marc Rousavy
4a1fc1ddd8
fix: patch-package install error
2021-06-28 09:24:37 +02:00
Marc Rousavy
ca5baef1a6
chore: Rebuild .pbxproj
2021-06-27 13:33:39 +02:00