Skip to content

Commit b99ac42

Browse files
committed
Merge pull request #743 from ParsePlatform/nlutsenko.tvos.purchaseController
Fixed PurchaseController not initialized on tvOS.
2 parents 7ae5027 + 74d451a commit b99ac42

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Parse/Internal/ParseManager.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
#import "PFInstallation.h"
3434
#endif
3535

36-
#if TARGET_OS_IOS
36+
#if TARGET_OS_IOS || TARGET_OS_TV
3737
#import "PFPurchaseController.h"
3838
#import "PFProduct.h"
3939
#endif
@@ -78,7 +78,7 @@ @implementation ParseManager
7878
#if !TARGET_OS_WATCH && !TARGET_OS_TV
7979
@synthesize pushManager = _pushManager;
8080
#endif
81-
#if TARGET_OS_IOS
81+
#if TARGET_OS_IOS || TARGET_OS_TV
8282
@synthesize purchaseController = _purchaseController;
8383
#endif
8484

@@ -397,7 +397,7 @@ - (void)setAnalyticsController:(PFAnalyticsController *)analyticsController {
397397
});
398398
}
399399

400-
#if TARGET_OS_IOS
400+
#if TARGET_OS_IOS || TARGET_OS_TV
401401

402402
#pragma mark PurchaseController
403403

0 commit comments

Comments
 (0)