Releases: loopsocial/firework_ios_sdk
v1.0.1
v1.0.0
[1.0.0]
Added
- Story block playback API
- Story block UI improvements and optimizations
- Accessibility improvements
- Localization for all components
Changed
- Live Stream Provider APIs have been updated
Breaking Changes
The Live Stream Provider APIs have changed which means you must also pull in the latest version of the supporting libraries.
For more details please follow the instructions on the corresponding supporting lib repo.
Fixed
- Live Stream Chat Emoji delay
- Image correct for RTL languages
v0.18.0
v0.17.0
[0.17.0]
Added
- Configurable CTA display delay
Breaking Changes
Direct references can be quickly updated by adding contentConfiguration
after the ctaButton
property.
var config = VideoPlayerContentConfiguration()
// From
config.ctaButton.backgroundColor = .green
config.ctaButton.textColor = .black
config.ctaButton.font = .systemFont(ofSize: 12)
// To
config.ctaButton.contentConfiguration.backgroundColor = .green
config.ctaButton.contentConfiguration.textColor = .black
config.ctaButton.contentConfiguration.font = .systemFont(ofSize: 12)
Type creation has changed as well and will require updating your instantiation routine. Continue creating the ButtonContentConfiguration
, but instead of assigning it to the VideoPlayerContentConfiguration.ctaButton
you will need to create a new type VideoPlayerCTAConfiguration
. Then assign your existing ButtonContentConfiguration
value to the property contentConfiguration
on the VideoPlayerCTAConfiguration
type. Finally, assign the value of the VideoPlayerCTAConfiguration
to the VideoPlayerContentConfiguration.ctaButton
property.
var config = VideoPlayerContentConfiguration()
let existingCTAConfig = ButtonContentConfiguration()
//config.ctaButton = existingCTAConfig // Won't compile
// Remove the old assignment and replace with this new configuration
var ctaConfig = VideoPlayerCTAConfiguration()
// Simply reassign to contentConfiguration on the VideoPlayerCTAConfiguration type
ctaConfig.contentConfiguration = existingCTAConfig
config.ctaButton = ctaConfig
v0.16.0
Added
- Dynamic Content content source
- Autoplay video in thumbnails
- Support for external live stream player
Changed
Breaking Changes
- Replace the
VideoPlayerContentConfiguration
parameter of thefunc VideoFeedViewController.openVideoPlayer
with typeVideoFeedContentConfiguration
v0.15.0
[0.15.0]
Added
- Support for live stream playback
- Live stream callback events
v0.14.1
[0.14.1]
Changed
- Fixes an issue where the CTA button may not appear in certain conditions
v0.14.0
[0.14.0]
Added
- Configurable Ad badge
Changed
- Fixes an issue where the CTA text color configuration would not be updated
- Fixes an issue where the shopping callback to update the shopping cart icon would not be called in certain scenarios
v0.13.0
Added
- Playlist group content source
- Configurable playback button on video player
- Configurable mute button on video player
- Configurable sponsored label on thumbnail feed
- Xcode documentation archive
Changed
Breaking Changes
FireworkVideoFeedDelegate.fireworkVideoDidTapVideoThumbnail(_:)
is nowFireworkVideoFeedDelegate.fireworkVideoDidTapThumbnail(_:)
FeedEventDetails.videoID
is nowFeedEventDetails.id
. This property can represent either a video or a playlist id. You can use theFeedEventDetails.source
to determine if id represents a video or playlist.
Removed
- Removes support for iOS 11
FireworkVideo-v0.12.0
Added
- Adds support for videos with products
- Adds shopping cart and product hydration integration
- Adds CTA button configuration
- Adds client side ability to customize CTA button action handling