Backendless Version (3.x / 5.x, Online / Managed / Pro )
5.7.2
Client SDK (REST / Android / Objective-C / Swift / JS )
Swift
Expected Behavior
If there is no internet Backendless.shared.userService.isValidUserToken should return an error.
Please describe the expected behavior of the issue, starting from the first action.
- Calling Backendless.shared.userService.isValidUserToken without internet.
- errorHandler gets called.
Actual Behavior
Backendless.shared.userService.isValidUserToken without internet is not calling responseHandler or errorHandler.
SDK source code shows that isValidUserToken is not returning anything if response.data is nil. I guess it should return an error.
Thanks!