Commit Graph

631 Commits

Author SHA1 Message Date
Marc Rousavy
7c33839e36
Reformat (#116)
* Reformat

* Prettier: Print Width 140

* SwiftFormat: Disable `organizeDeclarations`

* React Helpers -> React Utils

* Use bundle exec for pods

* Disable Hermes in Example

* Create clean.sh

* Update package.json

* Re-generate lockfiles

* Add bundle install step to bootstrap
2021-03-31 15:43:29 +02:00
Marc Rousavy
67b72682b4 "React" -> "React Helpers" 2021-03-31 14:40:19 +02:00
Marc Rousavy
25b10b7106 Remove scannable codes stuff 2021-03-31 14:39:17 +02:00
Marc Rousavy
1e08588439
Update TROUBLESHOOTING.mdx 2021-03-29 18:09:01 +02:00
Marc Rousavy
c98f41c1ea
Update TROUBLESHOOTING.mdx 2021-03-29 18:05:43 +02:00
dependabot[bot]
ec15e0acd4
Bump typedoc from 0.20.32 to 0.20.34 in /docs (#104)
Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.20.32 to 0.20.34.
- [Release notes](https://github.com/TypeStrong/TypeDoc/releases)
- [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.20.32...v0.20.34)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-29 17:55:39 +02:00
Marc Rousavy
248e12fbd7
Update TROUBLESHOOTING.mdx 2021-03-29 17:52:33 +02:00
Marc Rousavy
7d654dabea Remove @types/jest 2021-03-29 17:50:06 +02:00
dependabot[bot]
d1221f2c03
Bump docusaurus-plugin-typedoc from 0.11.0 to 0.12.0 in /docs (#94)
Bumps [docusaurus-plugin-typedoc](https://github.com/tgreyuk/typedoc-plugin-markdown/tree/HEAD/packages/docusaurus-plugin-typedoc) from 0.11.0 to 0.12.0.
- [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.12.0/packages/docusaurus-plugin-typedoc)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-29 17:47:31 +02:00
Marc Rousavy
61c6e5c824
Update TROUBLESHOOTING.mdx 2021-03-29 17:38:04 +02:00
Marc Rousavy
a0c9a0477b
Update BUG_REPORT.md 2021-03-29 17:27:13 +02:00
Marc Rousavy
c48a3f4e8e
Update TROUBLESHOOTING.mdx 2021-03-29 17:23:24 +02:00
Marc Rousavy
7368e0c2d3 chore: release 1.0.7 2021-03-29 14:13:01 +02:00
Marc Rousavy
4ea636e0d0
Automatically handle Audio interruptions (#113)
* Remove audio device when interruption begins

* Remove ReactLogger:alsoLogToJS

* Fix ReactLogger.logJS calls

* Fix `AVCaptureSessionInterruptionReasonKey` cast
2021-03-29 14:12:04 +02:00
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