Skip to content

Commit ad768ea

Browse files
feat: update firebase to version 9 (#19)
1 parent 09b39b3 commit ad768ea

File tree

4 files changed

+5
-17
lines changed

4 files changed

+5
-17
lines changed

Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Uncomment the next line to define a global platform for your project
2-
platform :ios, '9.0'
2+
platform :ios, '10.0'
33

44
target 'mParticle-Google-Analytics-Firebase' do
55
# Uncomment the next line if you're using Swift or would like to use dynamic frameworks

mParticle-Google-Analytics-Firebase.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ Pod::Spec.new do |s|
1414
s.social_media_url = "https://twitter.com/mparticle"
1515
s.static_framework = true
1616

17-
s.ios.deployment_target = "9.0"
17+
s.ios.deployment_target = "10.0"
1818
s.ios.source_files = 'mParticle-Google-Analytics-Firebase/*.{h,m,mm}'
1919
s.ios.dependency 'mParticle-Apple-SDK/mParticle', '~> 8.0'
2020
s.ios.frameworks = 'CoreTelephony', 'SystemConfiguration'
2121
s.libraries = 'z'
22-
s.ios.dependency 'Firebase/Core', '~> 8.0'
22+
s.ios.dependency 'Firebase/Core', '~> 9.0'
2323

2424
end

mParticle-Google-Analytics-Firebase.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@
478478
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
479479
INFOPLIST_FILE = "$(SRCROOT)/mParticle-Google-Analytics-Firebase/Info.plist";
480480
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
481-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
481+
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
482482
LD_RUNPATH_SEARCH_PATHS = (
483483
"$(inherited)",
484484
"@executable_path/Frameworks",
@@ -505,7 +505,7 @@
505505
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
506506
INFOPLIST_FILE = "$(SRCROOT)/mParticle-Google-Analytics-Firebase/Info.plist";
507507
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
508-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
508+
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
509509
LD_RUNPATH_SEARCH_PATHS = (
510510
"$(inherited)",
511511
"@executable_path/Frameworks",

mParticle-Google-Analytics-Firebase/MPKitFirebaseAnalytics.m

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -136,12 +136,6 @@ - (MPKitExecStatus *)routeCommerceEvent:(MPCommerceEvent *)commerceEvent {
136136
}
137137
break;
138138

139-
case MPCommerceEventActionCheckoutOptions: {
140-
[FIRAnalytics logEventWithName:kFIREventSetCheckoutOption
141-
parameters:parameters];
142-
}
143-
break;
144-
145139
case MPCommerceEventActionClick: {
146140
NSMutableDictionary<NSString *, id> *mutableParameters = [parameters mutableCopy];
147141
mutableParameters[kFIRParameterContentType] = @"product";
@@ -378,12 +372,6 @@ - (void)logUserAttributes:(NSDictionary<NSString *, id> *)userAttributes {
378372
if (commerceEvent.transactionAttributes.revenue) {
379373
[parameters setObject:commerceEvent.transactionAttributes.revenue forKey:kFIRParameterValue];
380374
}
381-
if (commerceEvent.checkoutStep != NSNotFound) {
382-
[parameters setObject:@(commerceEvent.checkoutStep) forKey:kFIRParameterCheckoutStep];
383-
}
384-
if (commerceEvent.checkoutOptions) {
385-
[parameters setObject:commerceEvent.checkoutOptions forKey:kFIRParameterCheckoutOption];
386-
}
387375
if (commerceEvent.transactionAttributes.transactionId) {
388376
[parameters setObject:commerceEvent.transactionAttributes.transactionId forKey:kFIRParameterTransactionID];
389377
}

0 commit comments

Comments
 (0)