Perry
Perry
a few lines of logcat prior to this: ``` 03-01 21:52:08.862 D/CardIOActivity(14075): permission denied to camera - requesting it 03-01 21:52:08.873 I/CardIOActivity(14075): onResume() 03-01 21:52:08.944 I/CardIOActivity(14075): onPause() 03-01 21:52:09.028 D/OpenGLRenderer(14075):...
Looks like `libcardioRecognizer.so` failed to load, which causes the null Rect. `lib` of my APK ``` [pfnguyen@galactica keepshare] $ jar tf target/android/output/keepshare-release .apk | grep -w lib lib/armeabi/libaeskeytrans.so lib/armeabi/libcardioDecider.so lib/armeabi-v7a/libaeskeytrans.so...
5.3.0 aar (perhaps others?) is incorrectly packaged ``` [pfnguyen@galactica io.card-android-sdk-5.3.0] $ jar tf ~/.ivy2/cache/io.card/a ndroid-sdk/aars/android-sdk-5.3.0.aar | grep -w jni jni/ jni/arm64-v8a/ jni/arm64-v8a/libcardioDecider.so jni/arm64-v8a/libcardioRecognizer.so jni/arm64-v8a/libcardioRecognizer_tegra2.so jni/arm64-v8a/libopencv_core.so jni/arm64-v8a/libopencv_imgproc.so jni/armeabi/ jni/armeabi/libcardioDecider.so jni/armeabi-v7a/ jni/armeabi-v7a/libcardioDecider.so...
(notice mips and armeabi containing incomplete library distributions)
This happens on a Nexus 5X on 6.0.1 as seen at this crash report link http://hanhuy-acra.appspot.com/public/com.hanhuy.android.keepshare/73400337bb30eb791d018a400defdc66ef82b3a9 I don't have a 5X, personally, and do not encounter this crash on a...
Oh, and my workaround is to set ndk.abiFilter to x86 and armeabi-v7a
That is a good point, I didn't see that in the README, and didn't think to check for an api to detect whether it is supported.
yes, please use standard result codes.
See the comment immediately above yours :D