RxBiometric icon indicating copy to clipboard operation
RxBiometric copied to clipboard

Not be able to get AuthenticationResult onComplete

Open rkmax opened this issue 5 years ago • 2 comments

Would be nice be able to use Authenticationresult

rkmax avatar May 19 '19 23:05 rkmax

Hi,

Thannks for the suggestion. I think, library needs to be updated to move appropriate action to onNext(...) instead of onComplete() because onComplete() just indicates that stream is completed, but doesn't have place to pass arguments through its interface.

Regards, Piotr

pwittchen avatar May 20 '19 07:05 pwittchen

I have a fork that pass Authentication Result.

I assume that if you wish to use Crypto object in Authentication Result to encrypt/decrypt You need to set User Authentication Validity.

But due to an issue here : https://issuetracker.google.com/issues/132924498 I could not get User Authentication Validity to work properly.

Now my App just won't set User Authentication Validity. So that crypto key is ready to use when created. But I only run the decrypt code when user pass authentication.

ksc91u avatar Jul 21 '19 17:07 ksc91u