Closed resultanyildizi closed 11 months ago
I Have been experiencing the same error (just different processor kirin) with a Native android app on a Huawei P30 phone. The behavior on screen is the same as on the issue provided video. The logs of the crash: logs.txt
Short update after more testing. Also this is happening with the example app (amplify-ui-android/samples/liveness).
I have the same problem, using the demo app doesn't work either.
Please fix this as it blocks us from using Amplify & Rekognition Liveliness for our Android App.
WIKO W-P311 @ Android 9
In addition with the previous comment of @mRamzii , our error seems located on the Predictions plugin and the websocket. Here is some additional log. It seems that the plugin Predictions crash when sending/emitting video stream.
This is a serious blocker for us aswell ! we are facing exactly the same issue as @Under-Warz
We tried looking into the source code to figure out what's going on but didn't manage to.
It's very unfortunate since AWS has been pushing the use of liveliness in our apps for some time now, now that we have decided to use it, it doesn't work :(
Can we have some insider insights on what could be causing this issue ? Maybe in order to be able to collaborate and fix the bug ourselves.
Thank you
@Under-Warz and @BashIsFun Can you specifically list the problematic device(s)?
For each of you, is it working on most devices, but not all? Or not working at all?
I think this issue is getting multiple issues grouped together with it. [Access denied finding property "ro.mediatek.platform"](https://github.com/aws-amplify/amplify-ui-android/issues/44#top)
is just a log that prints on most devices and from what I've seen, not indicitive of a problem. In the original issue, the error is occurring almost immediately when the camera opens. However, @Under-Warz in the log you posted, it appears that you get an error about 20 seconds after the camera is opened. To me, this looks like a timeout where the server did not receive any video events. This could be due to a network issue, or the encoder/muxer failing to generate camera frames. This would deserve a different issue than the ticket posted here.
If the issue appears to be different (not failing after immediately launching the camera), please post a new ticket with details of:
Thank you
hello @tylerjroach exactly, it's crashing when liveness session is about to start before the countdown. I'm opening another issue with the details you asked.
Thank's
These issues have typically been due to bath auth tokens. The latest version of Liveness has improved in logging auth errors. @resultanyildizi Please comment if you are still seeing issues. I'll go ahead and mark this as closing soon until we hear a response.
Before creating a new issue, please confirm:
Which UI component?
Liveness
Gradle script dependencies
Environment information
Please include any relevant guides or documentation you're referencing
https://github.com/flutter-ml/google_ml_kit_flutter/issues/287
Describe the bug
Issue Description: The camera functionality in the app is encountering a problem where it opens for a brief half-second and then automatically closes. This issue has been observed on a Samsung Galaxy S10 Lite device, but it may not be specific to that device alone. The app itself does not crash during this process. Camera permissions have been properly granted.
Expected Behavior: The camera should remain open and functional, allowing the users to verify themselves for an extended duration without any abrupt closing.
Additional Information: Device: [Samsung Galaxy S10 Lite] Operating System: [Android] Permissions Granted: Camera
Reproduction steps (if applicable)
Code Snippet
Log output
amplifyconfiguration.json
No response
Additional information and screenshots
Please refer to the attached video to see the issue in action. The video demonstrates the camera opening briefly and closing unexpectedly.
https://github.com/aws-amplify/amplify-ui-android/assets/47090675/660af5c2-25e1-4480-9c7f-82616ba93753