Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Sources/Models/Entitlement.swift
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ public extension Entitlement {
.extendedVirtualAddressing,
.teamIdentifier,
.keychainAccessGroups,
.applicationIdentifier
.applicationIdentifier,
.healthKit
]

static let paidEntitlements: Set<Entitlement> = [
Expand Down
8 changes: 6 additions & 2 deletions Sources/Models/Feature.swift
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ public struct Feature: RawRepresentable, Hashable, Codable, Sendable, Expressibl
case .pushNotifications: self = .pushNotifications
case .gameCenter: self = .gameCenter
case .inAppPurchase: self = .inAppPurchase
case .healthKit: self = .healthKit
default:
return nil
}
Expand Down Expand Up @@ -74,10 +75,12 @@ public extension Feature {
static let increasedMemoryLimit: Feature = "increasedMemoryLimit"
static let extendedVirtualAddressing: Feature = "extendedVirtualAddressing"
static let increasedDebuggingMemoryLimit: Feature = "increasedDebuggingMemoryLimit"
static let healthKit: Feature = "HK421J6T7P"

static let freeFeatures: Set<Feature> = [
.appGroups,
.interAppAudio
.interAppAudio,
.healthKit
]

static let paidFeatures: Set<Feature> = [
Expand All @@ -101,6 +104,7 @@ public extension Feature {
.wirelessAccessoryConfiguration,
.increasedMemoryLimit,
.extendedVirtualAddressing,
.increasedDebuggingMemoryLimit
.increasedDebuggingMemoryLimit,
.healthKit
]
}