Skip to content

Commit

Permalink
Change RiotNSE product name to TchapNSE for user-agent in backend logs.
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasBuquet committed Jan 8, 2024
1 parent 81be1c7 commit 19606ae
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 4 deletions.
10 changes: 8 additions & 2 deletions RiotNSE/Common.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,19 @@

#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

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

10 changes: 8 additions & 2 deletions TchapNSE/Common.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,19 @@

#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

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

1 change: 1 addition & 0 deletions changelog.d/664.change
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Rename RiotNSE extension product name to TchapNSE. It will change user-agent of requests in backend logs.

0 comments on commit 19606ae

Please sign in to comment.