Open vsay01 opened 6 years ago
Hello. Did you found solution for that?
@iiw what we end up doing is dismiss all dialogs in onResume. I still think it would be nice to have the listener for this though. Hope it help.
I did same. Thanks.
I'm pretty sure it's a bug, Recaptcha should support or pass cancellation to addOnFailureListener, which I believe correct approach (because it's also the result of the operation), or at least trigger addOnCanceledListener, which also a solution, but I think it not so straightforward, an internal result of the task shouldn't cancel it
@vsay01 can you explain it more clearly when you are dismissing the dialog and how you know dialog is dismissed.
It has been years over it but still it's an open issue, that is nasty...
addOnCanceledListener is still not triggered. Not sure when this issue will be addressed.
5 years and still have this issue..
library version used: com.google.android.gms:play-services-safetynet:11.4.2
I am using safety net captcha API. everything working as expected meaning, both are detected:
However, Here steps produce issue where on success and on failure are not detected:
Expected: addOnFailureListener should be triggered because user didn't response to the verification steps when detected as robot
Actual: both OnSuccessListener and addOnFailureListener are not detected
Code:
Questions:
Thanks