-
Notifications
You must be signed in to change notification settings - Fork 16
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
crash during decoding #10
Comments
So data is not corrupted, if I run application again everything works correctly. It was only some accidental problem, but try ... catch should help. |
And another accident crash
|
Here is another one, crashed during getting a string
|
I think the problem is that encoding/decoding are not thread safe. |
I fixed it here This small changes fixed all the problems. Now I'm using my fork on several project without any problems. |
I have now found this crash in my app
Maybe encrypted data was corrupted accidently and now is not possible decrypt them, but it should by handled and better would be return default value in this situation than app crash. And log error to the logcat.
The text was updated successfully, but these errors were encountered: