Skip to content
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

confusedness with encodeString #67

Closed
Yellup opened this issue Oct 2, 2018 · 2 comments
Closed

confusedness with encodeString #67

Yellup opened this issue Oct 2, 2018 · 2 comments

Comments

@Yellup
Copy link

Yellup commented Oct 2, 2018

The language of MMKV

Java

The version of MMKV

v1.0.10

The platform of MMKV

Android

The installation of MMKV

Maven, AAR Package

What's the issue?

call kv.encode("string", null) will not update the value to ""

@lingol
Copy link
Collaborator

lingol commented Oct 2, 2018

Call removeValueForKey instead. Setting a null value is not allowed.

@lingol lingol closed this as completed Oct 2, 2018
@lingol
Copy link
Collaborator

lingol commented Dec 14, 2018

Null value is supported now. Checkout the latest version. (https://github.com/Tencent/MMKV/releases).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants