Drop iOS 14 Support: Replace deprecated UTType APIs in Media#20887
Merged
Drop iOS 14 Support: Replace deprecated UTType APIs in Media#20887
Conversation
Contributor
|
| App Name | Jetpack Alpha |
|
| Configuration | Release-Alpha | |
| Build Number | pr20887-567e627 | |
| Version | 22.6 | |
| Bundle ID | com.jetpack.alpha | |
| Commit | 567e627 | |
| App Center Build | jetpack-installable-builds #5035 |
Contributor
|
| App Name | WordPress Alpha |
|
| Configuration | Release-Alpha | |
| Build Number | pr20887-567e627 | |
| Version | 22.6 | |
| Bundle ID | org.wordpress.alpha | |
| Commit | 567e627 | |
| App Center Build | WPiOS - One-Offs #6009 |
4 tasks
momo-ozawa
approved these changes
Jun 16, 2023
Contributor
momo-ozawa
left a comment
There was a problem hiding this comment.
Nice work, works as described!
Contributor
|
@kean I made a new "Drop iOS 14 support" and applied it to all relevant PRs |
Contributor
Author
|
Thanks, appreciate it, @momo-ozawa! |
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Related Issue #20860
This is a straightforward change that replaces APIs deprecated in iOS 15 with their direct replacements.
To test:
My main way to test it was by writing unit tests (prior to making a change), but I also tested it by checking media uploads from the app.
MediaService.swiftline 648 and verify thatremoteMedia.mimeTypeis set according to the uploaded fileRegression Notes
PR submission checklist:
RELEASE-NOTES.txtif necessary.