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
Values aren't actually restored from cache/localstorage because the return type of Preferences.get doesn't match the react-native async storage API's.
As a result parseData function always returns the fallback.
Essentially here it should be something like persistedData.value
I'll take a look at this for a while. I was using it in a project, I'll check it out when I get back there. Or it would be nice to create a demo area here.
Describe the bug
Values aren't actually restored from cache/localstorage because the return type of
Preferences.get
doesn't match the react-native async storage API's.As a result
parseData
function always returns the fallback.Essentially here it should be something like
persistedData.value
urql-storage-capacitor/src/makeAsyncStorage.ts
Lines 11 to 19 in 17696dd
Reproduction
N/A
System Info
Used Package Manager
n/a
Validations
The text was updated successfully, but these errors were encountered: