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
This commit is contained in:
@@ -16,7 +16,7 @@ import java.io.File
|
||||
|
||||
private const val TAG = "CameraView.performance"
|
||||
|
||||
@SuppressLint("UnsafeExperimentalUsageError")
|
||||
@SuppressLint("UnsafeOptInUsageError")
|
||||
suspend fun CameraView.takePhoto(options: ReadableMap): WritableMap = coroutineScope {
|
||||
val startFunc = System.nanoTime()
|
||||
Log.d(CameraView.REACT_CLASS, "takePhoto() called")
|
||||
|
||||
Reference in New Issue
Block a user