mirror of
https://github.com/RevenueCat/purchases-ios
synced 2026-11-11 22:55:55 +05:45
* docs: design audiences config topic ingestion * feat: ingest audiences config topic * chore: remove planning artifacts * feat: add audiences config provider
27 lines
656 B
Swift
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
|
|
}
|
|
|
|
}
|