| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Coverage ReportAffected SDKsNo changes between base commit (d550a72) and head commit (2bffe65). Test Logs
|
Sorry, something went wrong.
There was a problem hiding this comment.
This is looking really neat! 😎
Sorry, something went wrong.
|
API change is now approved. The PR is ready for final review and merge. |
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM 🚀
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Storage Integration Tests are converted to async/await and four new APIs are added to cover cases that don't get an automatic Xcode conversion.
If you want to experiment, the test infra is green here.
Xcode 13+ automatically converts Objective C APIs that return void and take a completion block parameter to an additional async API.
Googlers can see the API proposal at go/firebase-storage-async-await1. An excerpt follows:
The automatic API conversions for Storage are shown in Column G of this spreadsheet designed by @peterfriese. Note that the APIs that return a StorageDownloadTask or StorageUploadTask are not converted.
For Storage, Xcode automatically converts the following APIs to async versions as shown here:
The following APIs have completion parameters but do not get an automatic async API generated because they do not have a Void return value:
I implemented the following four APIs (full implementation here) to fill in the gap by providing APIs to do the implementation without the task handle return value:
The functions are renamed to avoid collisions with the existing API.