From 19606ae08d985d817048631be8dace5d367ac733 Mon Sep 17 00:00:00 2001 From: Nicolas Buquet Date: Mon, 8 Jan 2024 21:14:11 +0100 Subject: [PATCH] Change RiotNSE product name to TchapNSE for user-agent in backend logs. --- RiotNSE/Common.xcconfig | 10 ++++++++-- TchapNSE/Common.xcconfig | 10 ++++++++-- changelog.d/664.change | 1 + 3 files changed, 17 insertions(+), 4 deletions(-) create mode 100644 changelog.d/664.change diff --git a/RiotNSE/Common.xcconfig b/RiotNSE/Common.xcconfig index 5fb618d128..19b42ed0c8 100644 --- a/RiotNSE/Common.xcconfig +++ b/RiotNSE/Common.xcconfig @@ -19,7 +19,10 @@ #include "Tchap/SupportingFiles/App-Common.xcconfig" -PRODUCT_NAME = RiotNSE + +// Tchap: Customize TchapNSE user-agent for back-end logs. +// PRODUCT_NAME = RiotNSE +PRODUCT_NAME = TchapNSE PRODUCT_BUNDLE_IDENTIFIER = $(BASE_BUNDLE_IDENTIFIER).nse INFOPLIST_FILE = RiotNSE/Info.plist @@ -27,5 +30,8 @@ INFOPLIST_FILE = RiotNSE/Info.plist CODE_SIGN_ENTITLEMENTS = RiotNSE/RiotNSE.entitlements SKIP_INSTALL = YES -SWIFT_OBJC_BRIDGING_HEADER = $(SRCROOT)/$(PRODUCT_NAME)/SupportingFiles/RiotNSE-Bridging-Header.h + +// Tchap: Customize TchapNSE user-agent for back-end logs. +// SWIFT_OBJC_BRIDGING_HEADER = $(SRCROOT)/$(PRODUCT_NAME)/SupportingFiles/RiotNSE-Bridging-Header.h +SWIFT_OBJC_BRIDGING_HEADER = $(SRCROOT)/RiotNSE/SupportingFiles/RiotNSE-Bridging-Header.h diff --git a/TchapNSE/Common.xcconfig b/TchapNSE/Common.xcconfig index 5fb618d128..19b42ed0c8 100644 --- a/TchapNSE/Common.xcconfig +++ b/TchapNSE/Common.xcconfig @@ -19,7 +19,10 @@ #include "Tchap/SupportingFiles/App-Common.xcconfig" -PRODUCT_NAME = RiotNSE + +// Tchap: Customize TchapNSE user-agent for back-end logs. +// PRODUCT_NAME = RiotNSE +PRODUCT_NAME = TchapNSE PRODUCT_BUNDLE_IDENTIFIER = $(BASE_BUNDLE_IDENTIFIER).nse INFOPLIST_FILE = RiotNSE/Info.plist @@ -27,5 +30,8 @@ INFOPLIST_FILE = RiotNSE/Info.plist CODE_SIGN_ENTITLEMENTS = RiotNSE/RiotNSE.entitlements SKIP_INSTALL = YES -SWIFT_OBJC_BRIDGING_HEADER = $(SRCROOT)/$(PRODUCT_NAME)/SupportingFiles/RiotNSE-Bridging-Header.h + +// Tchap: Customize TchapNSE user-agent for back-end logs. +// SWIFT_OBJC_BRIDGING_HEADER = $(SRCROOT)/$(PRODUCT_NAME)/SupportingFiles/RiotNSE-Bridging-Header.h +SWIFT_OBJC_BRIDGING_HEADER = $(SRCROOT)/RiotNSE/SupportingFiles/RiotNSE-Bridging-Header.h diff --git a/changelog.d/664.change b/changelog.d/664.change new file mode 100644 index 0000000000..8f88ad983e --- /dev/null +++ b/changelog.d/664.change @@ -0,0 +1 @@ +Rename RiotNSE extension product name to TchapNSE. It will change user-agent of requests in backend logs. \ No newline at end of file