From 1730ce8980987d243a167eab33c06db52529878d Mon Sep 17 00:00:00 2001 From: Marc Rousavy Date: Wed, 7 Jul 2021 13:15:32 +0200 Subject: [PATCH] fix: Fix lint error for missing JNI func --- android/src/main/java/com/mrousavy/camera/CameraView.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/android/src/main/java/com/mrousavy/camera/CameraView.kt b/android/src/main/java/com/mrousavy/camera/CameraView.kt index d277623..59cf3d5 100644 --- a/android/src/main/java/com/mrousavy/camera/CameraView.kt +++ b/android/src/main/java/com/mrousavy/camera/CameraView.kt @@ -58,6 +58,7 @@ import kotlin.math.min // TODO: takePhoto() enableAutoDistortionCorrection // TODO: takePhoto() return with jsi::Value Image reference for faster capture +@Suppress("KotlinJniMissingFunction") // I use fbjni, Android Studio is not smart enough to realize that. @SuppressLint("ClickableViewAccessibility") // suppresses the warning that the pinch to zoom gesture is not accessible class CameraView(context: Context) : FrameLayout(context), LifecycleOwner { // react properties