Skip to content

Commit

Permalink
Update SDK to v1.21.0
Browse files Browse the repository at this point in the history
  • Loading branch information
loopops committed May 1, 2024
1 parent 344a6ea commit 52e81b1
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 4 deletions.
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
## CHANGELOG

## [1.21.0]

### Added
- `feedID` to the `FeedEventDetails` type.
- `VideoDetails` to the handleCustomCTAClick delegate method.
- Data Track Level API, `FireworkVideoSDK.dataTrackingLevel` to define the level of data tracking for the SDK. The default value is `.all`.
- Added the ability to override the product click action on LiveStream and Replay using the `FireworkVideoShoppingDelegate` API.
```swift
func fireworkShopping(_ fireworkShopping: FireworkVideoShopping, didTapProductVariant item: SelectedProductVariant, forVideo video: VideoDetails) -> Bool
```

### Deprecated
- `fireworkShopping(_:didTapLinkButtonAt:withURL:)` has been deprecated in favor of `fireworkShopping(_:didTapLinkButtonAt:fromVideo:withURL:)`.
- `handleCustomCTAClick(_:url:)` has been deprecated in favor of `handleCustomCTAClick(_:url:for:)`.

## [1.20.1]

### Fixed
- Certain CTA text was not properly updating under certain conditions.

## [1.20.0]

### Added
Expand Down
2 changes: 1 addition & 1 deletion FireworkVideo.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |spec|
spec.name = "FireworkVideo"
spec.version = "1.20.2"
spec.version = "1.21.0"
spec.summary = "FireworkVideoSDK"
spec.homepage = "https://github.com/loopsocial/firework_ios_sdk"
spec.license = { :text => "Copyright 2021 Loop Now Technologies, Inc.", :type => "Copyright" }
Expand Down
2 changes: 1 addition & 1 deletion FireworkVideoSample/FireworkVideoSample/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate, FireworkVideoSDKDelegate
/// Implementing the FireworkVideoCTADelegate allows
/// client to build custom actions on CTA clicks
extension AppDelegate: FireworkVideoCTADelegate {
func handleCustomCTAClick(_ viewController: PlayerViewController, url: URL) -> Bool {
func handleCustomCTAClick(_ viewController: PlayerViewController, url: URL, for video: VideoDetails) -> Bool {
// Custom action code here...

// Simple dismiss example:
Expand Down
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ let package = Package(
],
targets: [
.binaryTarget(name: "FireworkVideo",
url: "https://github.com/loopsocial/firework_ios_sdk/releases/download/v1.20.2/FireworkVideo-v1.20.2.xcframework.zip",
checksum: "f71ea0670fb6570b6305bba2ad9a7d72f5dc37a2833d6033a6225c33c2a5ad9e"),
url: "https://github.com/loopsocial/firework_ios_sdk/releases/download/v1.21.0/FireworkVideo-v1.21.0.xcframework.zip",
checksum: "8d394a70f1ee4151df4b7a081cb3e9e54455c03dac15c64b7f68c5beef6084a6"),
.target(name: "FireworkMultiHostStreaming",
dependencies: [
"FireworkVideo",
Expand Down

0 comments on commit 52e81b1

Please sign in to comment.