Move IAP extensions to CommonLibrary

Leave CommonIAP agnostic of business models.
This commit is contained in:
Davide 2024-11-21 12:06:40 +01:00
parent 4466616339
commit c7cef70eed
No known key found for this signature in database
GPG Key ID: A48836171C759F5E
7 changed files with 5 additions and 5 deletions

View File

@ -25,6 +25,6 @@
import Foundation
protocol AppFeatureProviding {
public protocol AppFeatureProviding {
var features: [AppFeature] { get }
}

View File

@ -73,17 +73,17 @@ extension AppProduct.Full {
// MARK: - Discontinued
extension AppProduct.Features {
static let allProviders = AppProduct(featureId: "all_providers")
public static let allProviders = AppProduct(featureId: "all_providers")
public static let networkSettings = AppProduct(featureId: "network_settings")
static let trustedNetworks = AppProduct(featureId: "trusted_networks")
public static let trustedNetworks = AppProduct(featureId: "trusted_networks")
}
extension AppProduct.Full {
static let allPlatforms = AppProduct(featureId: "full_multi_version")
public static let allPlatforms = AppProduct(featureId: "full_multi_version")
public static let iOS = AppProduct(featureId: "full_version")
static let macOS = AppProduct(featureId: "full_mac_version")
public static let macOS = AppProduct(featureId: "full_mac_version")
}