Marc Rousavy
cd180dc73b
Set automaticallyConfiguresApplicationAudioSession = false
2021-03-29 13:18:02 +02:00
Marc Rousavy
51580bc18a
chore: release 1.0.6
2021-03-29 11:47:26 +02:00
Marc Rousavy
8825a54342
Fix automatically configures application audio session
2021-03-29 11:43:01 +02:00
Marc Rousavy
15e0c7c595
chore: release 1.0.5
2021-03-29 11:35:20 +02:00
Marc Rousavy
66b93181e1
Remove code scanning ( #112 )
...
* Remove Audio Device if it failed to configure
* Add `audio-in-use-by-other-app` error
* Try removing on interruption
* Format code
* Remove code scanning
* Fix export
2021-03-29 11:34:35 +02:00
Marc Rousavy
1558dd2f15
Error when Audio Input is in use by another app ( #111 )
...
* Remove Audio Device if it failed to configure
* Add `audio-in-use-by-other-app` error
* Try removing on interruption
* Format code
* Make error more clear
2021-03-29 11:32:00 +02:00
Marc Rousavy
12f6ab5217
Disable dependabot for package.json
...
It's only devDependencies and some upgrades won't work with the example
2021-03-26 17:34:50 +01:00
Marc Rousavy
8e396c329a
Disable dependabot for docs/ and example/
2021-03-26 17:33:07 +01:00
Marc Rousavy
b25cf6a04f
Refactor lifecycle vars
2021-03-26 16:28:08 +01:00
Marc Rousavy
501827cb87
Rename pod to VisionCamera
2021-03-26 16:22:24 +01:00
Marc Rousavy
9404b93dc3
Extract AVCaptureSession
and AVAudioSession
setup to extensions
2021-03-26 16:20:57 +01:00
Marc Rousavy
56c67f25c7
Pause/Resume Audio Session on interruption
2021-03-26 16:10:12 +01:00
Marc Rousavy
8066f3fb53
Allow Haptic Feedback and System Sounds while recording
2021-03-26 15:58:08 +01:00
Marc Rousavy
750af31a80
Don't localize error messages
2021-03-26 15:54:27 +01:00
Marc Rousavy
6bc31d922e
Fix high-definition bluetooth audio background playback
2021-03-26 15:22:27 +01:00
Marc Rousavy
0750e42e9f
chore: release 1.0.4
2021-03-25 10:20:44 +01:00
Marc Rousavy
a9ef57097a
Bump CameraX version (alpha03)
2021-03-25 10:19:56 +01:00
Marc Rousavy
b6255f0245
Docs: Fix syntax highlighting
2021-03-24 12:42:11 +01:00
Marc Rousavy
5bfcdf324e
Extract CameraProps to separate file
2021-03-23 17:15:09 +01:00
Marc Rousavy
069b72750a
Update README.md
2021-03-23 17:10:17 +01:00
Marc Rousavy
ff27ddc4b8
Update README.md
2021-03-23 17:08:06 +01:00
Marc Rousavy
f0828e63f0
Fix docs broken links ( #97 )
...
* Fix broken CameraProps.format link
* Use absolute urls for SETUP.mdx
2021-03-23 15:49:58 +01:00
Marc Rousavy
6df988d5f3
Docs: Fix broken links in SETUP.mdx
2021-03-23 15:30:07 +01:00
Marc Rousavy
c996fec3d8
Docs: Fix broken link in README
2021-03-23 15:29:24 +01:00
Marc Rousavy
9b9e0375f4
Docs: Throw on broken Markdown links
2021-03-23 15:28:31 +01:00
Marc Rousavy
48821d50ca
Move Guides to docs/guides directory ( #96 )
...
* Move Guides to docs/guides directory
* Rename sidebar
* Fix api/ links
* Update SETUP.mdx
2021-03-23 15:25:27 +01:00
Marc Rousavy
a17d6a53d3
Docs: Add code example for takeSnapshot
2021-03-23 14:37:59 +01:00
Marc Rousavy
35806ff660
Upgrade Example to RN 0.64 ( #83 )
...
* ReactLogger: Also log function
* Run SwiftFormat & SwiftLint in example project
* Upgrade to RN 0.64 1/2
* Update lockfiles
* Upgrade a few packages
* index.tsx -> index.js
* Upgrade docusaurus
* Fix line length violation
* Update CameraView.swift
* Update gradle plugin
* Fix example to prefer higher res cameras
* Remove unused log line
* Update App.tsx
2021-03-19 15:53:19 +01:00
Marc Rousavy
1def7230c8
Make VideoFile's duration/size props nullable
2021-03-18 12:18:57 +01:00
mrousavy
89a35812f7
Remove a few TODOs
2021-03-17 19:29:03 +01:00
Marc Rousavy
dff8fc7178
Update CAPTURING.mdx
2021-03-17 18:40:44 +01:00
Marc Rousavy
7b90f4fa70
chore: release 1.0.3
2021-03-17 18:07:49 +01:00
Marc Rousavy
db8960580f
Feature/supports focus ( #72 )
...
* Add `supportsFocus` prop to CameraDevice
* Add true-depth camera again
* Revert "Add true-depth camera again"
This reverts commit 5814b8ca7a15b3273ff29498144bb352619a4c1d.
2021-03-17 18:07:05 +01:00
Marc Rousavy
8eb8dbeb6a
Fix SwiftLint/SwiftFormat errors
2021-03-17 17:39:11 +01:00
Marc Rousavy
c568b7cf40
Fix/unknown runtime error ( #71 )
...
* Add a few more log statements
* Log one more prop
* Configure audio session before activating camera
2021-03-17 16:37:31 +01:00
Marc Rousavy
64fcf9f069
Fix check-all script
2021-03-17 15:35:49 +01:00
Marc Rousavy
fc4f2e6362
chore: release 1.0.2
2021-03-17 15:31:01 +01:00
Marc Rousavy
9f30348053
Filter out true-depth-camera in getAvailableCameraDevices
2021-03-17 15:30:17 +01:00
Marc Rousavy
84fb076bc4
Fix broken link in Take Photo docs
2021-03-17 15:21:54 +01:00
Marc Rousavy
b0069c23e1
Docs/capturing ( #70 )
...
* Add capturing base doc
* Pin RNN version where Modal without animation works
* Add docs for Taking Photos/Recording Videos
2021-03-17 15:17:05 +01:00
dependabot[bot]
50cabe9306
Bump eslint from 7.21.0 to 7.22.0 in /example ( #59 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 7.21.0 to 7.22.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.21.0...v7.22.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-15 10:35:59 +01:00
dependabot[bot]
8c488e2fff
Bump eslint from 7.21.0 to 7.22.0 ( #58 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 7.21.0 to 7.22.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.21.0...v7.22.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-15 10:35:50 +01:00
dependabot[bot]
da292a83ec
Bump typedoc from 0.20.30 to 0.20.32 in /docs ( #60 )
...
Bumps [typedoc](https://github.com/TypeStrong/TypeDoc ) from 0.20.30 to 0.20.32.
- [Release notes](https://github.com/TypeStrong/TypeDoc/releases )
- [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.20.30...v0.20.32 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-15 10:35:26 +01:00
Marc Rousavy
0ce6f3eddd
Add autofix/diff checker to ESLint
2021-03-12 15:10:44 +01:00
Marc Rousavy
04163160ff
Also run validate-js for example/
2021-03-12 14:58:09 +01:00
Marc Rousavy
dee957648b
Fix tsc (again) ( #50 )
...
* Test forbid `<View>`
* Update validate-js.yml
* Run yarn lint with custom formatter lib
* Revert "Test forbid `<View>`"
This reverts commit d36ab54b48b7e86e594d360bd71c82b541ed63fa.
* Test: Intentional tsc error
* Update notice-new-dependencies.yml
* Update validate-js.yml
* Use reviewdog again, but with custom efm
* Fix <Camera> props
* Update validate-js.yml
* Try use github-check
* Update validate-js.yml
* Update validate-js.yml
* Add two reporters
* Update validate-js.yml
* Level error
* Use github-pr-review
* Update validate-js.yml
* Revert "Test: Intentional tsc error"
This reverts commit a4e7f6f599d403848729143f1bd87a3435c70826.
2021-03-12 14:19:22 +01:00
Marc Rousavy
33483cba94
Fix tsc ( #49 )
...
* Test: Rename a used prop
* Use `github-check` reporter
* Also output to CI
* Update validate-js.yml
* Update validate-js.yml
* Update validate-js.yml
* Revert "Test: Rename a used prop"
This reverts commit 266b2716ea591a1e826279c1f573870bee3b13e5.
* Run tsc and lint in parallel
* Flatten `CameraProps` into single `interface`
* Type NativeCameraViewProps
* Fix native method typings
* Force `as any` for now
2021-03-12 13:21:46 +01:00
Marc Rousavy
d85126d883
Init ExtensionsManager and ProcessCameraProvider before checking Extension availability ( #48 )
...
* Init ExtensionsManager and ProcessCameraProvider before checking Extension availability
* Remove withSuspendablePromise
* Async init ProcessCameraProvider
* Remove that unnecessary Future caching again
* Post `update` on previewView
Fixes "previewView.display must not be null!" error
2021-03-12 10:45:23 +01:00
dependabot[bot]
c4d7d81c36
Bump @types/react from 17.0.2 to 17.0.3 in /example ( #45 )
...
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ) from 17.0.2 to 17.0.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-12 10:38:45 +01:00
Marc Rousavy
b3881db9b8
Only build iOS if native files changed
2021-03-12 09:59:45 +01:00