Skip to content

Commit

Permalink
Fix uncredited features on tvOS (#1033)
Browse files Browse the repository at this point in the history
This was not apparent on TestFlight, but features from single iOS and
macOS "Full version" purchases were not being credited on the Apple TV
because of the incomplete `#if` conditionals.
  • Loading branch information
keeshux authored Dec 20, 2024
1 parent 9e18466 commit e13a84c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,14 @@ extension AppProduct: AppFeatureProviding {
}

case .Full.OneTime.iOS:
#if os(iOS)
#if os(iOS) || os(tvOS)
return AppProduct.Full.OneTime.iOS_macOS.features
#else
return []
#endif

case .Full.OneTime.macOS:
#if os(macOS)
#if os(macOS) || os(tvOS)
return AppProduct.Full.OneTime.iOS_macOS.features
#else
return []
Expand Down

0 comments on commit e13a84c

Please sign in to comment.