diff --git a/iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKComponentLayoutDescriptor.mm b/iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKComponentLayoutDescriptor.mm index 0fb5c8331..604d93a78 100644 --- a/iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKComponentLayoutDescriptor.mm +++ b/iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKComponentLayoutDescriptor.mm @@ -97,9 +97,18 @@ return data; } +#if !defined(FLIPPER_OSS) +- (NSString *) getStackTrace:(CKFlexboxComponentChild)child{ + return [child.component sonar_getName]; +} +#endif + - (NSDictionary *)propsForFlexboxChild:(CKFlexboxComponentChild)child { return @{ @"spacingBefore": SKObject(@(child.spacingBefore)), +#if !defined(FLIPPER_OSS) + @"NT Stack Trace": [self getStackTrace:child], +#endif @"spacingAfter": SKObject(@(child.spacingAfter)), @"flexGrow": SKObject(@(child.flexGrow)), @"flexShrink": SKObject(@(child.flexShrink)),