diff --git a/AUTHORS b/AUTHORS index adf87de0d69a..ecc2c3e512b1 100644 --- a/AUTHORS +++ b/AUTHORS @@ -23,3 +23,5 @@ Diego Velásquez Hajime Nakamura Tuyển Vũ Xuân Sarthak Verma +Mike Diarmid +Invertase diff --git a/packages/firebase_performance/ios/Classes/FirebasePerformancePlugin.m b/packages/firebase_performance/ios/Classes/FirebasePerformancePlugin.m index 40b4a5064ada..b8a912377b9f 100644 --- a/packages/firebase_performance/ios/Classes/FirebasePerformancePlugin.m +++ b/packages/firebase_performance/ios/Classes/FirebasePerformancePlugin.m @@ -77,7 +77,7 @@ - (void)handleTraceStop:(FlutterMethodCall *)call result:(FlutterResult)result { NSDictionary *attributes = call.arguments[@"attributes"]; [attributes enumerateKeysAndObjectsUsingBlock:^(NSString *key, NSString *value, BOOL *stop) { - [trace setValue:key forAttribute:value]; + [trace setValue:value forAttribute:key]; }]; [trace stop]; @@ -149,7 +149,7 @@ - (void)handleHttpMetricStop:(FlutterMethodCall *)call result:(FlutterResult)res NSDictionary *attributes = call.arguments[@"attributes"]; [attributes enumerateKeysAndObjectsUsingBlock:^(NSString *key, NSString *value, BOOL *stop) { - [metric setValue:key forAttribute:value]; + [metric setValue:value forAttribute:key]; }]; [metric stop];