Skip to content

Commit 37198fa

Browse files
committed
Set performance monitoring to false in App Store builds
1 parent 062fb21 commit 37198fa

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Experiments/Experiments/DefaultFeatureFlagService.swift

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,13 @@ public struct DefaultFeatureFlagService: FeatureFlagService {
3939
return buildConfig == .localDeveloper || buildConfig == .alpha
4040
case .wpcomSignup:
4141
return buildConfig == .localDeveloper || buildConfig == .alpha
42+
case .performanceMonitoring,
43+
.performanceMonitoringCoreData,
44+
.performanceMonitoringFileIO,
45+
.performanceMonitoringNetworking,
46+
.performanceMonitoringViewController,
47+
.performanceMonitoringUserInteraction:
48+
return buildConfig != .appStore
4249
default:
4350
return true
4451
}

0 commit comments

Comments
 (0)