Files
purchases-ios/Sources/Networking/RemoteConfigTopic.swift
T
Cesar de la Vega 5dc22ec2d5 Ingest audiences config topic (#7390)
* docs: design audiences config topic ingestion

* feat: ingest audiences config topic

* chore: remove planning artifacts

* feat: add audiences config provider
2026-08-11 15:29:22 +02:00

27 lines
656 B
Swift

//
// RemoteConfigTopic.swift
// RevenueCat
//
// Created by Rick van der Linden.
// Copyright © 2026 RevenueCat, Inc. All rights reserved.
import Foundation
/// Remote config topics that SDK code can read through `RemoteConfigManager`.
///
/// The sync path remains string-keyed so unknown server topics can still be persisted.
/// The read facade uses this closed set to avoid arbitrary or misspelled topic reads.
enum RemoteConfigTopic: String {
case workflows
case uiConfig = "ui_config"
case sources
case checkpointRules = "checkpoint_rules"
case audiences
var wireName: String {
return self.rawValue
}
}