You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lately, I have switched from AsyncStorage to MMKV in on of the macOS test projects, and I would like to utilize the path config, but it looks like that, when path includes tilde (~) file is not saved. Not sure if this is intended to work, but I have decided to report this anyway, so feel free to close this one or convert to feature request.
Other thing which was a bit unexpected is that you cannot use the constructor with config object, but without the id field (no fallback to default?), so for example when path and encryption field are the only present, this leads to error about missing ID.
I'll take a look! Maybe this issue should be reported in the original MMKV repo instead?
Yeah well ID cannot be default anymore since the default instance does not have encryption or custom path. So when you supply any of those, you have to use a different ID.
Lately, I have switched from AsyncStorage to MMKV in on of the macOS test projects, and I would like to utilize the
path
config, but it looks like that, when path includes tilde (~
) file is not saved. Not sure if this is intended to work, but I have decided to report this anyway, so feel free to close this one or convert to feature request.Other thing which was a bit unexpected is that you cannot use the constructor with config object, but without the
id
field (no fallback to default?), so for example whenpath
andencryption
field are the only present, this leads to error about missing ID.Repro
path: '~/.test'
config optionThe text was updated successfully, but these errors were encountered: