Skip to content

Commit

Permalink
NR-218026 added Unreal to application platform
Browse files Browse the repository at this point in the history
  • Loading branch information
mbruin-NR committed Feb 5, 2024
1 parent b22af29 commit 71f7294
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Agent/Public/NRConstants.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ extern "C" {
NRMAPlatform_ReactNative,
NRMAPlatform_Flutter,
NRMAPlatform_Capacitor,
NRMAPlatform_MAUI
NRMAPlatform_MAUI,
NRMAPlatform_Unreal
};

// these constants are paired with enum values of NRMAApplicationPlatform
Expand All @@ -49,6 +50,7 @@ extern "C" {
#define kNRMAPlatformString_Flutter @"Flutter"
#define kNRMAPlatformString_Capacitor @"Capacitor"
#define kNRMAPlatformString_MAUI @"MAUI"
#define kNRMAPlatformString_Unreal @"Unreal"


//Custom Trace Types
Expand Down
2 changes: 2 additions & 0 deletions Agent/Utilities/NewRelicInternalUtils.m
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,8 @@ + (NSString*) stringFromNRMAApplicationPlatform:(NRMAApplicationPlatform)applica
return kNRMAPlatformString_Capacitor;
case NRMAPlatform_MAUI:
return kNRMAPlatformString_MAUI;
case NRMAPlatform_Unreal:
return kNRMAPlatformString_Unreal;
}
}

Expand Down

0 comments on commit 71f7294

Please sign in to comment.