Skip to content

Commit

Permalink
fix(firebase_analytics): Send default parameters for iOS when using `…
Browse files Browse the repository at this point in the history
…setDefaultEventParameters()` API. (#8402)
  • Loading branch information
russellwheatley committed Apr 7, 2022
1 parent 1da9dc1 commit 7d3e5ba
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,7 @@ - (void)setConsent:(id)arguments withMethodCallResult:(FLTFirebaseMethodCallResu

- (void)setDefaultEventParameters:(id)arguments
withMethodCallResult:(FLTFirebaseMethodCallResult *)result {
id parameters = arguments[kFLTFirebaseAnalyticsParameters];
[FIRAnalytics setDefaultEventParameters:parameters];
[FIRAnalytics setDefaultEventParameters:arguments];
result.success(nil);
}

Expand Down

0 comments on commit 7d3e5ba

Please sign in to comment.