diff --git a/Package.resolved b/Package.resolved index c065089..e44274f 100644 --- a/Package.resolved +++ b/Package.resolved @@ -33,8 +33,8 @@ "repositoryURL": "https://github.com/firebase/firebase-ios-sdk.git", "state": { "branch": null, - "revision": "2eb177effe7baf1f13ad0c5f4eb8c71a98429fb5", - "version": "9.1.0" + "revision": "e8828e8efc813817b3c2cbfde8e965f7a7a26641", + "version": "9.2.0" } }, { diff --git a/Package.swift b/Package.swift index 6467129..2410b91 100644 --- a/Package.swift +++ b/Package.swift @@ -7,7 +7,7 @@ let package = Package( products: [.library(name: "SegmentFirebase", targets: ["SegmentFirebase"])], dependencies: [ .package(name: "Segment", url: "https://github.com/segmentio/analytics-ios.git", from: "4.1.6"), - .package(name: "Firebase", url: "https://github.com/firebase/firebase-ios-sdk.git", from: "9.1.0"), + .package(name: "Firebase", url: "https://github.com/firebase/firebase-ios-sdk.git", from: "9.2.0"), ], targets: [ .target( diff --git a/Segment-Firebase.podspec b/Segment-Firebase.podspec index f11bd49..fcba57e 100644 --- a/Segment-Firebase.podspec +++ b/Segment-Firebase.podspec @@ -24,9 +24,9 @@ Pod::Spec.new do |s| s.static_framework = true s.dependency 'Analytics' - s.dependency 'Firebase', '~> 9.1.0' - s.dependency 'Firebase/Core', '~> 9.1.0' - s.dependency 'FirebaseAnalytics','~> 9.1.0' + s.dependency 'Firebase', '~> 9.2.0' + s.dependency 'Firebase/Core', '~> 9.2.0' + s.dependency 'FirebaseAnalytics','~> 9.2.0' s.subspec 'Core' do |core| #For users who only want the core Firebase package diff --git a/Segment-Firebase/Classes/SEGFirebaseIntegration.m b/Segment-Firebase/Classes/SEGFirebaseIntegration.m index 94c8704..c8d54b5 100644 --- a/Segment-Firebase/Classes/SEGFirebaseIntegration.m +++ b/Segment-Firebase/Classes/SEGFirebaseIntegration.m @@ -118,8 +118,10 @@ - (NSString *)formatFirebaseEventNames:(NSString *)event kFIREventAddToCart, @"Product Added", kFIREventRemoveFromCart, @"Product Removed", kFIREventBeginCheckout, @"Checkout Started", + kFIREventViewPromotion, @"Promotion Viewed", kFIREventAddPaymentInfo, @"Payment Info Entered", kFIREventPurchase, @"Order Completed", + kFIREventRefund, @"Order Refunded", kFIREventViewItemList, @"Product List Viewed", kFIREventAddToWishlist, @"Product Added to Wishlist", kFIREventShare, @"Product Shared",