Hi, it would be great to have callback when cipher was successfully created . Because alomst everyone wants to show dialog with fingerprint only when everything is ready. Current implementation will give you on error but this way you have to show dialog in advance and then dismiss it when onError is called. This doesn't look very good on UI. Only workaround is to implement own CryptoFactory and call cryptoObjectFactory.createDecryptionCryptoObject(this.storageKey) somewhere outside (to check whether store is not invalidated)
Hi, it would be great to have callback when cipher was successfully created . Because alomst everyone wants to show dialog with fingerprint only when everything is ready. Current implementation will give you on error but this way you have to show dialog in advance and then dismiss it when onError is called. This doesn't look very good on UI. Only workaround is to implement own CryptoFactory and call cryptoObjectFactory.createDecryptionCryptoObject(this.storageKey) somewhere outside (to check whether store is not invalidated)