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
Could not Parse Json or t is null #9
Comments
Fixed in |
Still getting |
Maybe you're doing something wrong, working fine for me, make sure you set the Go to console and fine the line where error comes Could not parse json, and print the variable in library and check what type of data you are getting |
@yogeshjain999 Please clear the localStorage first and then try again. It should work. |
Repo gives error could not parse json or t is null if the ls.get has a blank data and the further code do not run. i think repo tries to parse a blank data if ls.get data has null value then repo should not try to decrypt the data, this problem occurs only in Mozilla Firefox version 61, i have not tested in older versions
Also the library is not working in Internet Explorer and Microsoft Edge with the invalid argument error
I initialized the object SecureLs in head, i successfully stored the data in local storage with aes is encryption, i closed my browser and opened again and when i reached the page it says t is null, but i was surprised that this happens only in Mozilla Firefox (works fine in chrome and safari)
The text was updated successfully, but these errors were encountered: