Skip to content

Releases: loopsocial/firework_ios_sdk

v0.17.0

09 Jun 21:23
Compare
Choose a tag to compare

[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

17 May 03:20
Compare
Choose a tag to compare

Added

  • Dynamic Content content source
  • Autoplay video in thumbnails
  • Support for external live stream player

Changed

Breaking Changes

  • Replace the VideoPlayerContentConfiguration parameter of the func VideoFeedViewController.openVideoPlayer with type VideoFeedContentConfiguration

v0.15.0

25 Mar 20:42
Compare
Choose a tag to compare

[0.15.0]

Added

  • Support for live stream playback
  • Live stream callback events

v0.14.1

25 Mar 17:26
Compare
Choose a tag to compare

[0.14.1]

Changed

  • Fixes an issue where the CTA button may not appear in certain conditions

v0.14.0

26 Feb 01:23
Compare
Choose a tag to compare

[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

20 Jan 17:25
Compare
Choose a tag to compare

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 now FireworkVideoFeedDelegate.fireworkVideoDidTapThumbnail(_:)
  • FeedEventDetails.videoID is now FeedEventDetails.id. This property can represent either a video or a playlist id. You can use the FeedEventDetails.source to determine if id represents a video or playlist.

Removed

  • Removes support for iOS 11

FireworkVideo-v0.12.0

23 Nov 20:03
Compare
Choose a tag to compare

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

FireworkVideo-v0.11.0

23 Sep 17:42
Compare
Choose a tag to compare

Added

  • Adds client side ad insertion logic for GAM integration.

FireworkVideo-v0.10.0

19 Aug 17:25
Compare
Choose a tag to compare

Added

  • Ability to force refresh video feeds.
  • Ability to pass VideoPlayerContentConfiguration when opening a video player with share link.

FireworkVideo-v0.9.1

06 Aug 23:18
Compare
Choose a tag to compare

Changed

  • Fixes an issue where the custom share link would not be properly updated.