Skip to content

Commit f9569ce

Browse files
committed
Merge branch 'hotfix/3.8.1'
2 parents a8f2151 + 6bad28b commit f9569ce

File tree

5 files changed

+15
-6
lines changed

5 files changed

+15
-6
lines changed

Example/Example/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>APPL</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>3.8.0</string>
18+
<string>3.8.1</string>
1919
<key>CFBundleURLTypes</key>
2020
<array>
2121
<dict>

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ The recommended way to install the Rover SDK is via [Cocoapods](http://cocoapods
1111
Add the Rover dependency to your Podfile.
1212

1313
```ruby
14-
pod 'Rover', '~> 3.8.0'
14+
pod 'Rover', '~> 3.8.1'
1515
```
1616

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

2323
```ruby
24-
github "RoverPlatform/rover-ios" == 3.8.0
24+
github "RoverPlatform/rover-ios" == 3.8.1
2525
```
2626

2727
## Initialization

Rover.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "Rover"
3-
s.version = "3.8.0"
3+
s.version = "3.8.1"
44
s.summary = "iOS framework for the Rover platform"
55
s.homepage = "https://www.rover.io"
66
s.license = "Apache License, Version 2.0"

Sources/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>3.8.0</string>
18+
<string>3.8.1</string>
1919
<key>CFBundleVersion</key>
2020
<string>$(CURRENT_PROJECT_VERSION)</string>
2121
<key>NSPrincipalClass</key>

Sources/UI/Views/WebViewCell.swift

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import WebKit
1010

1111
class WebViewCell: BlockCell {
12-
let webView = WKWebView()
12+
let webView = WKWebView(frame: .zero, configuration: WKWebViewConfiguration.roverDefault)
1313

1414
override var content: UIView? {
1515
return webView
@@ -35,3 +35,12 @@ class WebViewCell: BlockCell {
3535
self.webView.load(request)
3636
}
3737
}
38+
39+
extension WKWebViewConfiguration {
40+
static var roverDefault: WKWebViewConfiguration {
41+
let config = WKWebViewConfiguration()
42+
config.allowsInlineMediaPlayback = true
43+
config.mediaTypesRequiringUserActionForPlayback = []
44+
return config
45+
}
46+
}

0 commit comments

Comments
 (0)