erisu opened a new pull request #784: refactor: deprecate mediaPlaybackRequiresUserAction URL: https://github.com/apache/cordova-ios/pull/784 ### Motivation and Context Apple has deprecated the `mediaPlaybackRequiresUserAction` property in iOS 4.0-12.0. This property should be replaced with `mediaTypesRequiringUserActionForPlayback`. ### Description This PR: * Updates the native side to use the new property name. * Updates to read the new preference name (`MediaTypesRequiringUserActionForPlayback`) from `config.xml` * Warn users that the preference is being deprecated in the near future if it is still being used. * Fallback on the the value from the old preference name if it still remains. ### Testing - `npm t` - `cordova platform add` - `cordova build ios` ### Checklist - [x] I've run the tests to see all new and existing tests pass - [ ] I added automated test coverage as appropriate for this change - [ ] I've updated the documentation if necessary
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
