-
Notifications
You must be signed in to change notification settings - Fork 9.7k
[webview_flutter] fix warning #5131
Conversation
|
It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat (don't just cc him here, he won't see it! He's on Discord!). If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix? Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. |
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). For more information, open the CLA check for this pull request. |
|
Thanks for the submission! In the future, please do not delete the checklist that is in the PR template; it is there for a reason. This PR is missing required elements described in the checklist (I’ve restored it to the PR description), which need to be addressed before it moves forward with review. I am marking the PR as a Draft. Please review the checklist, updating the PR as appropriate, and when that’s complete please feel free to mark the PR as ready for review. |
packages/webview_flutter/webview_flutter_wkwebview/CHANGELOG.md
Outdated
Show resolved
Hide resolved
|
|
||
| ## 2.7.3 | ||
|
|
||
| * Removes two compile time warnings |
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.
Period in the end of the sentence. Also, please make the CHANGELOG include more details. (What warnings are removed)
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.
fixed
packages/webview_flutter/webview_flutter_wkwebview/ios/Classes/FlutterWebView.m
Show resolved
Hide resolved
|
Thank you for the review, I made appropriate fixes. |
packages/webview_flutter/webview_flutter_wkwebview/ios/Classes/FlutterWebView.m
Outdated
Show resolved
Hide resolved
cyanglaz
left a comment
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
stuartmorgan-g
left a comment
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, thanks!
|
test-exempt: fixes warnings |
|
Thank you for the great reviews! |
When the webview_flutter plugin compiles for iOS, it produces the following warning two times:
"'requiresuseractionformediaplayback' is deprecated: first deprecated in ios 10.0"
This PR disables those warnings in the same way, that other warnings of the same kind are already disabled.
The code leading to the warnings is fine, because it is there to explicitly handle the deprecations. Now that they are handled, the warnings can be ignored.
Pre-launch Checklist
dart format.)[shared_preferences]pubspec.yamlwith an appropriate new version according to the pub versioning philosophy, or this PR is exempt from version changes.CHANGELOG.mdto add a description of the change, following repository CHANGELOG style.///).If you need help, consider asking for advice on the #hackers-new channel on Discord.