iOS | 2.14.3
Hello,
Have been something change to login logic?
Im getting always Network error 401.
loginManager.setUsername(email, andPassword: pwd)
Task { @MainActor in
do {
self.networkStatus = .Connecting
loginManager.connectToServer()
try await loginManager.login(withUsername: email, andPassword: pwd)
} catch {
self.errorMSG = error.localizedDescription
self.error = LoginAlerts.LoginError
}
}
-
You have bug in
RainbowTaskService.Notifications.didRemoveRainbowTaskCategory
Notification.object is nil.
Also I realised when you are deleting last task, so there is no more tasks, function is throwing error even deletion is successfully handled.
This function always throw if you delete latest saved task
try await rainbowTaskService.removeFromTheRainbowTaskList(rainbowTask: task)
-
Hello,
For the first point:
RainbowTaskService.Notifications.didRemoveRainbowTaskCategory
Yes, that's a mistake... the category is not returned in the object. Noted for next version.
For the second point:
try await rainbowTaskService.removeFromTheRainbowTaskList(rainbowTask: task)
This is a server issue. We receive 200 OK with no content in this specific case. The issue is new in this version of iOS SDK because we have correctly managed 200 and 204 codes. I have opened a ticket for server team.
Please sign in to leave a comment.
Comments
3 comments