Commit Graph

1349 Commits

Author SHA1 Message Date
dependabot[bot]
c3ff25de41
Bump gradle from 4.1.3 to 4.2.0 in /android (#132)
* Bump gradle from 4.1.3 to 4.2.0 in /android

Bumps gradle from 4.1.3 to 4.2.0.

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

* update gradle wrapper

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marc Rousavy <marcrousavy@hotmail.com>
2021-05-05 10:41:42 +02:00
Marc Rousavy
1341d3ca92
fix: Actions labels (#133)
* Fix labels

* update
2021-05-05 10:38:26 +02:00
Marc Rousavy
f57714747a
fix: Mirror selfies on Android (#129)
* Flip Image (slow approach)

* Measure time

* REACT_CLASS -> TAG

* d -> i

* remove TODO
2021-05-03 19:14:19 +02:00
Marc Rousavy
ae1dde1993 Use isNotEmpty instead of size > 0 2021-04-26 15:39:20 +02:00
Marc Rousavy
ed754b1ac3 chore: release 1.0.10 2021-04-26 12:57:41 +02:00
Marc Rousavy
f2a89570c5
Upgrade CameraX to 1.1.0-alpha04 (#128)
* Upgrade CameraX to 1.1.0-alpha4

* Upgrade Kotlin to 1.4.32

* Suppress `UnsafeOptInUsageError` CameraSelector override

* Suppress `UnsafeOptInUsageError` for takePhoto

* Suppress `MissingPermission` for recordVideo

* Remove unreported lint suppressions
2021-04-26 12:56:36 +02:00
Marc Rousavy
5e2e9b6912 chore: release 1.0.9 2021-04-20 10:23:42 +02:00
Marc Rousavy
11d6388a06
Fix Permission grantResults out of bounds (#120)
(ArrayIndexOutOfBoundsException)
2021-04-20 10:21:59 +02:00
Marc Rousavy
53281dfb57
Create FUNDING.yml 2021-04-18 19:05:34 +02:00
Marc Rousavy
7ea5702efd chore: release 1.0.8 2021-04-13 13:01:55 +02:00
Marc Rousavy
9320e356e3
Get sizes per ImageFormat/PixelFormat (#119)
* Get sizes per ImageFormat/PixelFormat

* Fix `getOutputMinFrameDuration` crashing

* Fix `isHighestPhotoQualitySupported`

* Add TS type explanations

* Update CameraDevice.ts

* Update CameraViewModule.kt

* Add link to AVCaptureColorSpace apple docs
2021-04-13 13:01:24 +02:00
Marc Rousavy
584cd682db
Update README.md 2021-04-08 13:40:28 +02:00
Marc Rousavy
0b10efe0d5
Update README.md 2021-04-08 13:37:56 +02:00
Marc Rousavy
2c5ea04939 Fix npm package size 2021-04-08 12:30:22 +02:00
Marc Rousavy
4983da3577
Update README.md 2021-04-08 12:27:38 +02:00
Marc Rousavy
d7b0e4f43f
Update README.md 2021-04-08 12:26:59 +02:00
Marc Rousavy
24a0bcde48 Add additional ESLint rules 2021-03-31 16:02:04 +02:00
Marc Rousavy
e02c051e19 Override CameraError toString 2021-03-31 16:01:46 +02:00
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