We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Error: [Error: Invalid value provided to SecureStore. Values must be strings; consider JSON-encoding your values if they are serializable.]
[Error: Invalid value provided to SecureStore. Values must be strings; consider JSON-encoding your values if they are serializable.]
Relevant code block
const loginMutation = useMutation({ mutationFn: (data: LoginFormSchema) => loginUser(data), onSuccess: async (data) => { try { if (successResponseStatus(data)) { await saveToken({ key: 'access_token', value: data.data.access_token }) await saveToken({ key: 'refresh_token', value: data.data.refresh_token }) navigateBasedOnStatus(data.data.user_status, getValues('username')) } else { Toast.show({ type: 'error', text1: 'Đã có lỗi xảy ra', text2: data.message }) } } catch (error) { console.error(error) } }, }
Reason: have not merged to EW-300, where this logic is handled.
EW-300
The text was updated successfully, but these errors were encountered:
Resolved in 62d4d7e
Sorry, something went wrong.
qnhanhh
No branches or pull requests
Error:
[Error: Invalid value provided to SecureStore. Values must be strings; consider JSON-encoding your values if they are serializable.]
Relevant code block
Reason: have not merged to
EW-300
, where this logic is handled.The text was updated successfully, but these errors were encountered: