Marc Rousavy
555474be7d
fix: Represent neutralZoom in factor instead of percentage ( #179 )
...
* Use factor instead of percent for `neutralZoom`
* fix zoom calculation
* Update CameraPage.tsx
2021-06-07 10:46:53 +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
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
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
Marc Rousavy
6438b9a8bc
Bump CameraX versions to alpha2/alpha22 ( #7 )
...
* Bump CameraX versions to alpha2/alpha22
* Use `setDefaultResolution` to set format's photoSize
2021-02-26 17:34:28 +01:00
Marc Rousavy
03b9246afe
Devops: KTLint to lint Kotlin code ( #6 )
...
* Adds KTLint as a GitHub action
* Adds KTLint to the gradle project for IDE integration
* Adds .editorconfig to configure KTLint (android/)
2021-02-26 10:56:20 +01:00
Marc Rousavy
d06b27782c
fix package names to reflect actual folder path
2021-02-19 20:43:30 +01:00
Marc Rousavy
d6a0e509a7
update package name
2021-02-19 20:41:49 +01:00
Marc Rousavy
4d42be6436
Add Android
2021-02-19 16:28:14 +01:00