From 7e3f3b9f3357877bd83772fe97e36f9ed3011638 Mon Sep 17 00:00:00 2001 From: Tristan Warner-Smith Date: Thu, 9 Jun 2022 22:07:18 +0100 Subject: [PATCH] Updates Firebase package to 9.1.0. Updates deprecated `AnalyticsEventPresentOffer` to `AnalyticsEventViewPromotion ` --- Package.resolved | 50 +++++++++---------- Package.swift | 2 +- .../SegmentFirebase/FirebaseDestination.swift | 2 +- 3 files changed, 27 insertions(+), 27 deletions(-) diff --git a/Package.resolved b/Package.resolved index 5f32f2c..5debfae 100644 --- a/Package.resolved +++ b/Package.resolved @@ -6,8 +6,8 @@ "repositoryURL": "https://github.com/firebase/abseil-cpp-SwiftPM.git", "state": { "branch": null, - "revision": "fffc3c2729be5747390ad02d5100291a0d9ad26a", - "version": "0.20200225.4" + "revision": "d302de612e3d57c6f4afaf087da18fba8eac72a7", + "version": "0.20220203.1" } }, { @@ -15,8 +15,8 @@ "repositoryURL": "https://github.com/segmentio/analytics-swift.git", "state": { "branch": null, - "revision": "76316a5009502de6e7c2788c295e9afc68793cd3", - "version": "1.1.2" + "revision": "8ae3136bffaa139a690e7841bf63143605041540", + "version": "1.3.0" } }, { @@ -24,8 +24,8 @@ "repositoryURL": "https://github.com/firebase/boringssl-SwiftPM.git", "state": { "branch": null, - "revision": "734a8247442fde37df4364c21f6a0085b6a36728", - "version": "0.7.2" + "revision": "79db6516894a932d0ddaff3b05b9da1e4f6c4069", + "version": "0.9.0" } }, { @@ -33,8 +33,8 @@ "repositoryURL": "https://github.com/firebase/firebase-ios-sdk", "state": { "branch": null, - "revision": "78f7087fd5d48eb7c36e299f330b6dddccd647b2", - "version": "8.12.1" + "revision": "2eb177effe7baf1f13ad0c5f4eb8c71a98429fb5", + "version": "9.1.0" } }, { @@ -42,8 +42,8 @@ "repositoryURL": "https://github.com/google/GoogleAppMeasurement.git", "state": { "branch": null, - "revision": "6cc2991c11872510a5314bc112cc7558dd9d046a", - "version": "8.12.0" + "revision": "192cce3e0486aecfdb61102a9c694c78dc89dc48", + "version": "9.1.0" } }, { @@ -51,8 +51,8 @@ "repositoryURL": "https://github.com/google/GoogleDataTransport.git", "state": { "branch": null, - "revision": "15ccdfd25ac55b9239b82809531ff26605e7556e", - "version": "9.1.2" + "revision": "b905c49326b72211531ed9d7baa02d724828a8dc", + "version": "9.1.4" } }, { @@ -60,17 +60,17 @@ "repositoryURL": "https://github.com/google/GoogleUtilities.git", "state": { "branch": null, - "revision": "b3bb0c5551fb3f80ca939829639ab5b093edd14f", - "version": "7.7.0" + "revision": "f4abe56ce62a779e64b525eb133c8fc2a84bbc1f", + "version": "7.7.1" } }, { "package": "gRPC", - "repositoryURL": "https://github.com/firebase/grpc-SwiftPM.git", + "repositoryURL": "https://github.com/grpc/grpc-ios.git", "state": { "branch": null, - "revision": "fb405dd2c7901485f7e158b24e3a0a47e4efd8b5", - "version": "1.28.4" + "revision": "2af4f6e9c2b18beae228f50b1198c641be859d2b", + "version": "1.44.2-grpc" } }, { @@ -78,8 +78,8 @@ "repositoryURL": "https://github.com/google/gtm-session-fetcher.git", "state": { "branch": null, - "revision": "bc6a19702ac76ac4e488b68148710eb815f9bc56", - "version": "1.7.0" + "revision": "19605024d59eaefdb1f6a2cb11ebe75df4421126", + "version": "2.0.0" } }, { @@ -96,8 +96,8 @@ "repositoryURL": "https://github.com/firebase/nanopb.git", "state": { "branch": null, - "revision": "7ee9ef9f627d85cbe1b8c4f49a3ed26eed216c77", - "version": "2.30908.0" + "revision": "819d0a2173aff699fb8c364b6fb906f7cdb1a692", + "version": "2.30909.0" } }, { @@ -105,8 +105,8 @@ "repositoryURL": "https://github.com/google/promises.git", "state": { "branch": null, - "revision": "611337c330350c9c1823ad6d671e7f936af5ee13", - "version": "2.0.0" + "revision": "46c1e6b5ac09d8f82c991061c659f67e573d425d", + "version": "2.1.0" } }, { @@ -123,8 +123,8 @@ "repositoryURL": "https://github.com/apple/swift-protobuf.git", "state": { "branch": null, - "revision": "7e2c5f3cbbeea68e004915e3a8961e20bd11d824", - "version": "1.18.0" + "revision": "e1499bc69b9040b29184f7f2996f7bab467c1639", + "version": "1.19.0" } } ] diff --git a/Package.swift b/Package.swift index c6512da..c9db383 100644 --- a/Package.swift +++ b/Package.swift @@ -28,7 +28,7 @@ let package = Package( .package( name: "Firebase", url: "https://github.com/firebase/firebase-ios-sdk", - from: "8.1.0" + from: "9.1.0" ) ], targets: [ diff --git a/Sources/SegmentFirebase/FirebaseDestination.swift b/Sources/SegmentFirebase/FirebaseDestination.swift index 9190190..fc968a1 100644 --- a/Sources/SegmentFirebase/FirebaseDestination.swift +++ b/Sources/SegmentFirebase/FirebaseDestination.swift @@ -195,7 +195,7 @@ private extension FirebaseDestination { "Product Added": FirebaseAnalytics.AnalyticsEventAddToCart, "Product Removed": FirebaseAnalytics.AnalyticsEventRemoveFromCart, "Checkout Started": FirebaseAnalytics.AnalyticsEventBeginCheckout, - "Promotion Viewed": FirebaseAnalytics.AnalyticsEventPresentOffer, + "Promotion Viewed": FirebaseAnalytics.AnalyticsEventViewPromotion, "Payment Info Entered": FirebaseAnalytics.AnalyticsEventAddPaymentInfo, "Order Completed": FirebaseAnalytics.AnalyticsEventPurchase, "Order Refunded": FirebaseAnalytics.AnalyticsEventRefund,