-
Notifications
You must be signed in to change notification settings - Fork 879
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Null image data on callback when running on Android 4.4 device #240
Comments
Thanks for this issue. I'll have this fix out on an official release artifact within a week, but for now you can access the fix on a snapshot artifact. Made a PR on your reproduction repo showing how to do this: Diederikjh/camerakit-crash#1 The problem was a pixel data config mismatch. I was assuming |
Thanks, I'm getting correct data back on my 4.4 device. |
Hi @Diederikjh did u accessed camera listener
i am getting error in when using gradle
errors when listener is included,
|
Remove You've upgraded from a version older than 0.12.0, where event handling has changed a bit. Change it to:
|
Thanks, it seems the documentation is not updated. |
Same behavior with Android 4.4.2 and Camera kit version 0.12.0
|
This is fixed or not? |
Hi @avaneeshkumarmaurya we've actually moved most of our development efforts to version 1.0.0. This issue is resolved there. Check the PR #318 to get started with the latest beta. We'll have an official release shortly! |
Is this a bug report?
Yes
Have you read the Contributing Guidelines?
Yes, mostly
Environment
Android studio 2.3.1 (running on Ubuntu) Build tools 27.0.1 Target SDK : 27
Camera kit version: 0.12.0
Seeing this on Android 4.4 devices. (Samsung SM-T561 and SM-T231)
Steps to Reproduce
CameraView.captureImage()
)Expected Behavior
Call back to provide non-null image data.
Actual Behavior
Callback returned null JPEG image data.
Reproducible Demo
https://github.com/Diederikjh/camerakit-crash/tree/android-4.4-null-image
This doesn't seem to happen on version 0.11.2 of the library.
Not sure if relevant. Log cat during failure had this output:
The text was updated successfully, but these errors were encountered: