I am trying to do a simple authentication with stitch
stitch.auth.login(withCredential: credential) { (result) in
DispatchQueue.main.async {
switch result{
case .success(_):
// do this do that
case .failure(let error):
print(error.localizedDescription)
}
}
}
When it catches an error, printing the description like this:
I am trying to do a simple authentication with stitch
When it catches an error, printing the description like this:
I think the proper description should look like this:
I know the error is a json object but its an enum that have associated value. I cant get the error json directly.
Maybe its about my sdk version but I cant update the pod either. Your repository giving this error:
my setup: