Skip to content
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

Fixed for supporting mediaPlaybackRequiresUserAction under iOS 10. #22208

Conversation

ifsnow
Copy link
Contributor

@ifsnow ifsnow commented Nov 8, 2018

There is a problem that the mediaPlaybackRequiresUserAction property does not work in WKWebView(useWebKit) under iOS 10.

I fully know you are currently working to migrate the core's WebView to the standalone react-native-webview project. This has already been submitted to PR in react-native-webview and will be merged soon. I hope this fix applies to react-native before your migration is done.

Test Plan:

I checked that mediaPlaybackRequiresUserAction property works in my service as intended. I think this is a small change that is less likely to cause problems.

Release Notes:

[IOS] [BUGFIX] [React/Views/RCTWKWebView.m] - Fixed for mediaPlaybackRequiresUserAction in WKWebView under iOS 10.

@ifsnow ifsnow requested a review from shergin as a code owner November 8, 2018 05:31
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Nov 8, 2018
@pull-bot
Copy link

pull-bot commented Nov 8, 2018

Warnings
⚠️

📋 Release Notes - This PR may have incorrectly formatted Release Notes.

Generated by 🚫 dangerJS

@ifsnow
Copy link
Contributor Author

ifsnow commented Nov 19, 2018

This fix was merged into react-native-webview and released. I hope it will be merged into RN if possible.

@facebook-github-bot facebook-github-bot added the Import Started This pull request has been imported. This does not imply the PR has been approved. label Dec 5, 2018
Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cpojer is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@react-native-bot
Copy link
Collaborator

@ifsnow merged commit c45d290 into facebook:master.

@facebook facebook locked as resolved and limited conversation to collaborators Dec 5, 2018
@react-native-bot react-native-bot added the Merged This PR has been merged. label Dec 5, 2018
kelset pushed a commit that referenced this pull request Dec 12, 2018
…22208)

Summary:
There is a problem that the `mediaPlaybackRequiresUserAction` property does not work in WKWebView(`useWebKit`) under iOS 10.

I fully know you are currently working to migrate the core's WebView to the standalone `react-native-webview` project. This has already been submitted to PR in `react-native-webview` and will be merged soon. I hope this fix applies to `react-native` before your migration is done.
Pull Request resolved: #22208

Differential Revision: D13334868

Pulled By: cpojer

fbshipit-source-id: f2a811a477054155ed5fe62ab31e4d63f70e7848
@hramos hramos removed Import Started This pull request has been imported. This does not imply the PR has been approved. labels Feb 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged This PR has been merged. Platform: iOS iOS applications.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants