Open malkawi00 opened 1 week ago
Guten Tag, Hans here.
[!NOTE] New features, bugfixes, updates and other improvements are all handled mostly by
@mrousavy
in his free time. To support@mrousavy
, please consider 💖 sponsoring him on GitHub 💖. Sponsored issues will be prioritized.
Why are you nesting runAsync with runAtTargetFps? I think you should use one or the other.
@aguedob if I use runAsync without runAtTargetFps the camera lagging
Hi, It's not related much. But I got this issues on Android. Anyone know how to fix it ?
my version package: 4.3.2 react native version: 0.73
Fatal Exception: java.lang.UnsatisfiedLinkError: dlopen failed: library "libVisionCamera.so" not found
at java.lang.Runtime.loadLibrary0(Runtime.java:1087)
at java.lang.Runtime.loadLibrary0(Runtime.java:1008)
at java.lang.System.loadLibrary(System.java:1664)
at com.mrousavy.camera.react.CameraViewModule.<clinit>(CameraViewModule.kt:48)
at com.mrousavy.camera.react.CameraPackage.createNativeModules(CameraPackage.kt:11)
at com.facebook.react.ReactPackageHelper.getNativeModuleIterator(ReactPackageHelper.java:43)
at com.facebook.react.NativeModuleRegistryBuilder.processPackage(NativeModuleRegistryBuilder.java:42)
at com.facebook.react.ReactInstanceManager.processPackage(ReactInstanceManager.java:1458)
at com.facebook.react.ReactInstanceManager.processPackages(ReactInstanceManager.java:1429)
at com.facebook.react.ReactInstanceManager.createReactContext(ReactInstanceManager.java:1331)
at com.facebook.react.ReactInstanceManager.lambda$runCreateReactContextOnNewThread$2(ReactInstanceManager.java:1101)
at com.facebook.react.ReactInstanceManager.$r8$lambda$AwGS8CysOZmWJw3kRVARHQvw9Ew()
at com.facebook.react.ReactInstanceManager$$ExternalSyntheticLambda5.run(:4)
at java.lang.Thread.run(Thread.java:923)
Why are you nesting runAsync with runAtTargetFps? I think you should use one or the other.
No you can also nest them.
What's happening?
when I try to run the app from react native metro work fine , but when I make release APK , I have an issue app crash when open the camera , is there any solution
Reproduceable Code
Relevant log output
Camera Device
Device
Samsung s23 , OPPO A5s , Honor 90 REA-NX9
VisionCamera Version
4.3.1
Can you reproduce this issue in the VisionCamera Example app?
I didn't try (⚠️ your issue might get ignored & closed if you don't try this)
Additional information