diff --git a/compose/app/build.gradle.kts b/compose/app/build.gradle.kts index 8fdd97d..73db66a 100644 --- a/compose/app/build.gradle.kts +++ b/compose/app/build.gradle.kts @@ -95,7 +95,7 @@ dependencies { debugImplementation("androidx.compose.ui:ui-test-manifest") // Firework SDK - val fireworkBomVersion = "2024.11.15" + val fireworkBomVersion = "2024.11.21" implementation(platform("com.firework:firework-bom:$fireworkBomVersion")) implementation("com.firework:sdk") implementation("com.firework.external.imageloading:glide") // Glide (optional image loader) diff --git a/feed_integration/app/build.gradle.kts b/feed_integration/app/build.gradle.kts index b18e023..edd2aab 100644 --- a/feed_integration/app/build.gradle.kts +++ b/feed_integration/app/build.gradle.kts @@ -81,7 +81,7 @@ dependencies { implementation("com.github.bumptech.glide:glide:4.16.0") // Firework SDK - val fireworkBomVersion = "2024.11.15" + val fireworkBomVersion = "2024.11.21" implementation(platform("com.firework:firework-bom:$fireworkBomVersion")) implementation("com.firework:sdk") implementation("com.firework.external.imageloading:glide") // Glide (optional image loader) diff --git a/feed_resources/app/build.gradle.kts b/feed_resources/app/build.gradle.kts index 5dd5023..30d606e 100644 --- a/feed_resources/app/build.gradle.kts +++ b/feed_resources/app/build.gradle.kts @@ -82,7 +82,7 @@ dependencies { implementation("com.github.bumptech.glide:glide:4.16.0") // Firework SDK - val fireworkBomVersion = "2024.11.15" + val fireworkBomVersion = "2024.11.21" implementation(platform("com.firework:firework-bom:$fireworkBomVersion")) implementation("com.firework:sdk") implementation("com.firework.external.imageloading:glide") // Glide (optional image loader) diff --git a/language/app/build.gradle.kts b/language/app/build.gradle.kts index 6b9fbd5..be04209 100644 --- a/language/app/build.gradle.kts +++ b/language/app/build.gradle.kts @@ -76,7 +76,7 @@ dependencies { implementation("com.github.bumptech.glide:glide:4.16.0") // Firework SDK - val fireworkBomVersion = "2024.11.15" + val fireworkBomVersion = "2024.11.21" implementation(platform("com.firework:firework-bom:$fireworkBomVersion")) implementation("com.firework:sdk") implementation("com.firework.external.imageloading:glide") // Glide (optional image loader) diff --git a/multi_host_livestream/app/build.gradle.kts b/multi_host_livestream/app/build.gradle.kts index b319413..71d2cff 100644 --- a/multi_host_livestream/app/build.gradle.kts +++ b/multi_host_livestream/app/build.gradle.kts @@ -72,7 +72,7 @@ dependencies { implementation("com.github.bumptech.glide:glide:4.16.0") // Firework SDK - val fireworkBomVersion = "2024.11.15" + val fireworkBomVersion = "2024.11.21" implementation(platform("com.firework:firework-bom:$fireworkBomVersion")) implementation("com.firework:sdk") implementation("com.firework.external.imageloading:glide") // Glide (optional image loader) diff --git a/picture_in_picture/app/build.gradle.kts b/picture_in_picture/app/build.gradle.kts index b551eea..e7b3a10 100644 --- a/picture_in_picture/app/build.gradle.kts +++ b/picture_in_picture/app/build.gradle.kts @@ -84,7 +84,7 @@ dependencies { implementation("com.github.bumptech.glide:glide:4.16.0") // Firework SDK - val fireworkBomVersion = "2024.11.15" + val fireworkBomVersion = "2024.11.21" implementation(platform("com.firework:firework-bom:$fireworkBomVersion")) implementation("com.firework:sdk") implementation("com.firework.external.imageloading:glide") // Glide (optional image loader) diff --git a/share_link/app/build.gradle.kts b/share_link/app/build.gradle.kts index 1fc24eb..7e254a4 100644 --- a/share_link/app/build.gradle.kts +++ b/share_link/app/build.gradle.kts @@ -81,7 +81,7 @@ dependencies { implementation("com.github.bumptech.glide:glide:4.16.0") // Firework SDK - val fireworkBomVersion = "2024.11.15" + val fireworkBomVersion = "2024.11.21" implementation(platform("com.firework:firework-bom:$fireworkBomVersion")) implementation("com.firework:sdk") implementation("com.firework.external.imageloading:glide") // Glide (optional image loader) diff --git a/shopping/app/build.gradle.kts b/shopping/app/build.gradle.kts index a8fa6b5..0db7e63 100644 --- a/shopping/app/build.gradle.kts +++ b/shopping/app/build.gradle.kts @@ -74,7 +74,7 @@ dependencies { implementation("com.github.bumptech.glide:glide:4.16.0") // Firework SDK - val fireworkBomVersion = "2024.11.15" + val fireworkBomVersion = "2024.11.21" implementation(platform("com.firework:firework-bom:$fireworkBomVersion")) implementation("com.firework:sdk") implementation("com.firework.external.imageloading:glide") // Glide (optional image loader) diff --git a/shopping/app/src/main/java/com/firework/example/shopping/AddToCartModeActivity.kt b/shopping/app/src/main/java/com/firework/example/shopping/AddToCartModeActivity.kt index de9453f..112ed05 100644 --- a/shopping/app/src/main/java/com/firework/example/shopping/AddToCartModeActivity.kt +++ b/shopping/app/src/main/java/com/firework/example/shopping/AddToCartModeActivity.kt @@ -95,7 +95,7 @@ class AddToCartModeActivity : AppCompatActivity() { ), ) shopping.setShoppingCartBehaviour(Shopping.CartBehaviour.Embedded("some title")) - shopping.setOnCtaButtonClicked { productId, unitId, _, _ -> + shopping.setOnCtaButtonClicked { productId, unitId, _, _, _ -> uiScope.launch { FireworkSdk.shopping.setCtaButtonStatus(Shopping.CtaButtonStatus.Loading) delay(LONG_OPERATION_DELAY) @@ -122,7 +122,7 @@ class AddToCartModeActivity : AppCompatActivity() { ShoppingCartRepository.setProducts(hydratedProducts) } } - shopping.setOnProductLinkClickListener { _, _, productWebUrl, _ -> + shopping.setOnProductLinkClickListener { _, _, productWebUrl, _, _ -> Toast.makeText( this@AddToCartModeActivity, "Host App: Product Url: $productWebUrl", diff --git a/shopping/app/src/main/java/com/firework/example/shopping/ShopNowModeActivity.kt b/shopping/app/src/main/java/com/firework/example/shopping/ShopNowModeActivity.kt index b9f8d2f..a6eb5ab 100644 --- a/shopping/app/src/main/java/com/firework/example/shopping/ShopNowModeActivity.kt +++ b/shopping/app/src/main/java/com/firework/example/shopping/ShopNowModeActivity.kt @@ -87,7 +87,7 @@ class ShopNowModeActivity : AppCompatActivity(), Shopping.OnShoppingErrorListene ), ), ) - shopping.setOnCtaButtonClicked { _, _, productWebUrl, _ -> + shopping.setOnCtaButtonClicked { _, _, productWebUrl, _, _ -> val webpage: Uri = Uri.parse(productWebUrl) val intent = Intent(Intent.ACTION_VIEW, webpage).apply { diff --git a/single_host_livestream/app/build.gradle.kts b/single_host_livestream/app/build.gradle.kts index 4ae8ef0..f5e77df 100644 --- a/single_host_livestream/app/build.gradle.kts +++ b/single_host_livestream/app/build.gradle.kts @@ -76,7 +76,7 @@ dependencies { implementation("com.github.bumptech.glide:glide:4.16.0") // Firework SDK - val fireworkBomVersion = "2024.11.15" + val fireworkBomVersion = "2024.11.21" implementation(platform("com.firework:firework-bom:$fireworkBomVersion")) implementation("com.firework:sdk") implementation("com.firework.external.imageloading:glide") // Glide (optional image loader) diff --git a/story_block/app/build.gradle.kts b/story_block/app/build.gradle.kts index 3f8011f..2531f7a 100644 --- a/story_block/app/build.gradle.kts +++ b/story_block/app/build.gradle.kts @@ -81,7 +81,7 @@ dependencies { implementation("com.github.bumptech.glide:glide:4.16.0") // Firework SDK - val fireworkBomVersion = "2024.11.15" + val fireworkBomVersion = "2024.11.21" implementation(platform("com.firework:firework-bom:$fireworkBomVersion")) implementation("com.firework:sdk") implementation("com.firework.external.imageloading:glide") // Glide (optional image loader) diff --git a/view_options/app/build.gradle.kts b/view_options/app/build.gradle.kts index 46c1756..6c1710f 100644 --- a/view_options/app/build.gradle.kts +++ b/view_options/app/build.gradle.kts @@ -70,7 +70,7 @@ dependencies { implementation("com.github.bumptech.glide:glide:4.16.0") // Firework SDK - val fireworkBomVersion = "2024.11.15" + val fireworkBomVersion = "2024.11.21" implementation(platform("com.firework:firework-bom:$fireworkBomVersion")) implementation("com.firework:sdk") implementation("com.firework.external.imageloading:glide") // Glide (optional image loader)