Skip to content

Commit e65cea9

Browse files
committed
Create pointOfSaleBarcodeScanningi2 feature flag
1 parent b6b4140 commit e65cea9

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

Modules/Sources/Experiments/DefaultFeatureFlagService.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ public struct DefaultFeatureFlagService: FeatureFlagService {
9090
return true
9191
case .pointOfSaleBarcodeScanningi1:
9292
return true
93+
case .pointOfSaleBarcodeScanningi2:
94+
return buildConfig == .localDeveloper || buildConfig == .alpha
9395
case .showPointOfSaleBarcodeSimulator:
9496
// Enables a simulated barcode scanner in dev builds for testing. Do not ship this one!
9597
return false

Modules/Sources/Experiments/FeatureFlag.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,10 @@ public enum FeatureFlag: Int {
188188
///
189189
case pointOfSaleBarcodeScanningi1
190190

191+
/// Enables further improvements to barcode scanning with an external scanner in POS
192+
///
193+
case pointOfSaleBarcodeScanningi2
194+
191195
/// Enables a simulated barcode scanner for testing in POS. Do not ship this one!
192196
///
193197
case showPointOfSaleBarcodeSimulator

0 commit comments

Comments
 (0)