5 months ago
iOS: 4.19.0
The latest JWP iOS SDK update includes several enhancements and bug fixes to improve functionality and user experience. New features such as a privacy manifest, enhanced Chromecast support, and customizable UI transitions are introduced. Updates to SDK dependencies and various bug fixes are also detailed below.
New Features
- JWP iOS SDK contains a privacy manifest file (PrivacyInfo.xcprivacy) and a signature for the SDK.
- Chromecast now supports sending JSON data to custom receiver apps, enabling multiple use cases, including the ability to cast Widevine DRM-protected content.
- Custom fullscreen transitions can be set for applications.
JWPlayerSkin
properties, such as descriptionIsVisible and titleIsVisible properties, can be changed during media playback without reconfiguring the player.
Example:self.jwpvc.styling = try? JWPlayerSkinBuilder()
.titleIsVisible(false)
.descriptionIsVisible(false)
.build()- The iOS SDK dependencies have been updated: IMA to 3.22.0, Google Cast to 4.8.1, and OMID to 1.4.12.
- A protocol allowing initialization from a prototype for builders has been implemented, simplifying object replication.
Example: Create a copy of a preroll in the postroll slot that retains the properties of the preroll.let myPostroll = try! JWAdBreakBuilder(from: myPrerollJsonObject)
.offset(.postroll())
.build()
Bug Fixes
- To improve the user experience, UI controls are hidden during fullscreen animation transitions.
- The ObjC file not included warning no longer appears.
- In the FeedTableView best practice app, scrolling in the
FeedTableView
occurs only in portrait orientation. JWPlayerSkinBuilder().descriptionIsVisible(false)
now hides the description.- The
adTagParameters
specified viaJWGoogleDAIStreamBuilder
are respected.