Files
purchases-ios/Sources/Networking/SubscriberDimensionsResolution.swift
Rick aaf5d0f02f feat(checkpoints): resolve subscriber dimensions from config and receipts endpoints (#7919)
* feat(checkpoints): resolve subscriber dimensions from config and receipts

* fix(checkpoints): address subscriber dimension review feedback

* fix(checkpoints): provide user defaults in integration tests

* fix(checkpoints): resolve integration test lint errors
2026-10-06 14:36:58 +02:00

21 lines
558 B
Swift

//
// SubscriberDimensionsResolution.swift
// RevenueCat
//
// Created by Rick van der Linden.
// Copyright © 2026 RevenueCat, Inc. All rights reserved.
import Foundation
/// The result of reading the optional `subscriber_dimensions` topic.
///
/// `notConfigured` means a committed config omits the topic. `unavailable` means the SDK could not produce
/// dimensions from the configuration it received.
enum SubscriberDimensionsResolution: Equatable, Sendable {
case resolved(SubscriberDimensions)
case notConfigured
case unavailable
}