Skip to content

Commit

Permalink
Merge branch 'hotfix/3.8.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisrecalis committed Dec 7, 2020
2 parents a8f2151 + 6bad28b commit f9569ce
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Example/Example/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>3.8.0</string>
<string>3.8.1</string>
<key>CFBundleURLTypes</key>
<array>
<dict>
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ The recommended way to install the Rover SDK is via [Cocoapods](http://cocoapods
Add the Rover dependency to your Podfile.

```ruby
pod 'Rover', '~> 3.8.0'
pod 'Rover', '~> 3.8.1'
```

### Carthage
Expand All @@ -21,7 +21,7 @@ CocoaPods is the simplest approach to installing the Rover SDK but you can also
Add the following entry to your Cartfile:

```ruby
github "RoverPlatform/rover-ios" == 3.8.0
github "RoverPlatform/rover-ios" == 3.8.1
```

## Initialization
Expand Down
2 changes: 1 addition & 1 deletion Rover.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "Rover"
s.version = "3.8.0"
s.version = "3.8.1"
s.summary = "iOS framework for the Rover platform"
s.homepage = "https://www.rover.io"
s.license = "Apache License, Version 2.0"
Expand Down
2 changes: 1 addition & 1 deletion Sources/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>3.8.0</string>
<string>3.8.1</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
Expand Down
11 changes: 10 additions & 1 deletion Sources/UI/Views/WebViewCell.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import WebKit

class WebViewCell: BlockCell {
let webView = WKWebView()
let webView = WKWebView(frame: .zero, configuration: WKWebViewConfiguration.roverDefault)

override var content: UIView? {
return webView
Expand All @@ -35,3 +35,12 @@ class WebViewCell: BlockCell {
self.webView.load(request)
}
}

extension WKWebViewConfiguration {
static var roverDefault: WKWebViewConfiguration {
let config = WKWebViewConfiguration()
config.allowsInlineMediaPlayback = true
config.mediaTypesRequiringUserActionForPlayback = []
return config
}
}

0 comments on commit f9569ce

Please sign in to comment.