-
Notifications
You must be signed in to change notification settings - Fork 424
New issue
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
@W-15363709 Changes to RestAPI for modern Async/Await #3806
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't we keep the tests for the old APIs since they are deprecated and not (yet) removed?
libs/SalesforceSDKCore/SalesforceSDKCore/Classes/Extensions/RestClient.swift
Outdated
Show resolved
Hide resolved
self.handleError(request: request, error: error) | ||
} | ||
|
||
self.view.endEditing(true) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what's this change for? is the same call at line 562 still needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah, that was a copy error. I take that out. Good catch on that one. 🙏
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bbirman OK, Fixed my goof. Thanks for catching that .
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm! It looks like one of the templates uses the old way too so please update that as well, let me know if you have any questions about that repo!
https://github.com/forcedotcom/SalesforceMobileSDK-Templates/blob/358f7cace478f6458c32f57283e8364e493b8cd5/iOSNativeSwiftEncryptedNotificationTemplate/EncryptedNotificationTemplate/RootViewController.swift#L39
@bbirman I made update to the template repo. PR is here forcedotcom/SalesforceMobileSDK-Templates#441 |
No description provided.