Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
white space
  • Loading branch information
LouiseHsu committed Nov 13, 2024
commit f11c61cc59a4cf26cc986cd4eeade35d65f0a155
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ NS_ASSUME_NONNULL_BEGIN
/// Call this method to have StoreKit present a sheet enabling the user to redeem codes provided by
/// your app. Only for iOS.
- (void)presentCodeRedemptionSheet API_AVAILABLE(ios(14.0))
API_UNAVAILABLE(tvos, macos, watchos);
API_UNAVAILABLE(tvos, macos, watchos);

/// If StoreKit has called your SKPaymentQueueDelegate's "paymentQueueShouldShowPriceConsent:"
/// method and you returned NO, you can use this method to show the price consent UI at a later time
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,14 @@ - (SKStorefront *)storefront API_AVAILABLE(ios(13.0)) {

#if TARGET_OS_IOS
- (void)presentCodeRedemptionSheet API_AVAILABLE(ios(14.0))
API_UNAVAILABLE(tvos, macos, watchos) {
API_UNAVAILABLE(tvos, macos, watchos) {
[self.queue presentCodeRedemptionSheet];
}
#endif

#if TARGET_OS_IOS
- (void)showPriceConsentIfNeeded API_AVAILABLE(ios(13.4))
API_UNAVAILABLE(tvos, macos, watchos) {
API_UNAVAILABLE(tvos, macos, watchos) {
[self.queue showPriceConsentIfNeeded];
}
#endif
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,7 @@ API_AVAILABLE(ios(13.0), macos(10.15))
@property(nonatomic, assign) SKPaymentTransactionState paymentState;
@property(nonatomic, strong, nullable) id<SKPaymentTransactionObserver> observer;
@property(nonatomic, strong, readwrite) SKStorefront *storefront API_AVAILABLE(ios(13.0));
@property(nonatomic, strong, readwrite)
NSArray<SKPaymentTransaction *> *transactions API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2));
@property(nonatomic, strong, readwrite) NSArray<SKPaymentTransaction *> *transactions API_AVAILABLE(ios(3.0), macos(10.7), watchos(6.2));

// Test Properties
@property(nonatomic, assign)
Expand Down