Open asos-savvasdalkitsis opened 7 years ago
I found too
SDK/Library version: 5.5.1 Android Version and Device: Android 7.0 Samsung Galaxy S7 Edge
I'm having the same issue as well. SDK/Library ver.: 5.5.1 Android ver. and device: Android 7.0 Moto G5
Launching activity displays request for permission, but after that a black screen. When I navigate away & come back, preview is available.
SDK/Library ver.: 5.5.1
First launch camera issue still persist, any update on same... ? :(
Posting sample app logs for more details
07-19 13:24:19.058 25323-25323/io.card.development D/I18nManager: null not found. Attempting to look for en_US 07-19 13:24:19.058 25323-25323/io.card.development D/I18nManager: setting locale to:en 07-19 13:24:19.058 25323-25323/io.card.development D/I18nManager: setting locale to:en 07-19 13:24:19.059 25323-25323/io.card.development I/card.io: card.io 5.5.1 03/17/2017 14:23:12 -0400 07-19 13:24:19.062 25323-25323/io.card.development D/card.io: Loaded card.io decider library. 07-19 13:24:19.064 25323-25323/io.card.development D/card.io: nUseNeon(): false 07-19 13:24:19.064 25323-25323/io.card.development D/card.io: nUseTegra():true 07-19 13:24:19.064 25323-25323/io.card.development D/card.io: nUseX86(): false 07-19 13:24:19.065 25323-25323/io.card.development D/card.io: Loaded opencv core library 07-19 13:24:19.067 25323-25323/io.card.development D/card.io: Loaded opencv imgproc library 07-19 13:24:19.069 25323-25323/io.card.development I/card.io: Loaded card.io Tegra2 library 07-19 13:24:19.070 25323-25323/io.card.development D/CardIOActivity: permission denied to camera - requesting it 07-19 13:24:19.209 25323-25343/io.card.development D/OpenGLRenderer: endAllActiveAnimators on 0x794f89dc00 (RippleDrawable) with handle 0x793d17ee40 07-19 13:24:24.551 25323-25323/io.card.development D/MEMORY: Native memory stats: (free/alloc'd/total)2354080/12325984/14680064 07-19 13:24:31.043 25323-25323/io.card.development W/CardScanner: could not trigger auto focus: java.lang.RuntimeException: autoFocus failed
I guess, The last line causing issue from CardScanner
Same issue
Pixel XL: Android 8.0.0 SDK/Library ver.: 5.5.1
Issue is fixed on 5.5.0 but re-introduces https://github.com/card-io/card.io-Android-SDK/issues/150
Any news on this? We'll have to stay on 5.5.0 until this is fixed.
General information
Issue description
Updating to the newest version of the library (5.5.1) introduces a bug on the first launch of the activity.
On a clean installation, launching the screen asks for the camera permission. When allowed, the cardio activity is shown but no camera preview is displayed (the keyboard button is the only thing visible).
Backing out and launching the screen again works just fine.
Logs: