|
@@ -1110,21 +1110,26 @@ static NSString *const KMPurchaseCompareCellIdentifier = @"KMPurchaseCompa
|
|
#pragma mark - Button Actions
|
|
#pragma mark - Button Actions
|
|
|
|
|
|
- (IBAction)buttonItemClicked_Subscribe:(id)sender {
|
|
- (IBAction)buttonItemClicked_Subscribe:(id)sender {
|
|
- if (self.isPurchaseSwitch) {
|
|
|
|
- [[IAPProductsManager defaultManager] makeSubProduct:[IAPProductsManager defaultManager].allAccessPack12months_lite discount:[self isCancelAutoRenew]];
|
|
|
|
-
|
|
|
|
|
|
+ if KMMemberInfo.shared.isLogin && KMMemberInfo.shared.validFlag == "5" {
|
|
|
|
+ KMMemberPromptWC.shared.showWindow(nil)
|
|
|
|
+ KMMemberPromptWC.shared.tipType = .signouting
|
|
} else {
|
|
} else {
|
|
- [[IAPProductsManager defaultManager] makeSubProduct:[IAPProductsManager defaultManager].allAccessPackNew6months_lite discount:[self isCancelAutoRenew]];
|
|
|
|
- }
|
|
|
|
- [self addWaingView:self.window.contentView];
|
|
|
|
- [[FMTrackEventManager defaultManager] trackEventWithEvent:@"PUW" withProperties:@{@"PUW_Btn":@"PUW_Btn_Upgrade_6Mon"}];
|
|
|
|
-
|
|
|
|
- if ([self isShowSale]) {
|
|
|
|
- self.kEventTag = 1;
|
|
|
|
if (self.isPurchaseSwitch) {
|
|
if (self.isPurchaseSwitch) {
|
|
- [self trackEvent_freeWithEventName:@"PromotionalOffer" params:@{@"PUW_Btn" : @"PUW_7OffUpgrade_12Mon"} platform:KMAnalyticsPlatformAppCenter];
|
|
|
|
|
|
+ [[IAPProductsManager defaultManager] makeSubProduct:[IAPProductsManager defaultManager].allAccessPack12months_lite discount:[self isCancelAutoRenew]];
|
|
|
|
+
|
|
} else {
|
|
} else {
|
|
- [self trackEvent_freeWithEventName:@"PromotionalOffer" params:@{@"PUW_Btn" : @"PUW_7OffUpgrade_6Mon"} platform:KMAnalyticsPlatformAppCenter];
|
|
|
|
|
|
+ [[IAPProductsManager defaultManager] makeSubProduct:[IAPProductsManager defaultManager].allAccessPackNew6months_lite discount:[self isCancelAutoRenew]];
|
|
|
|
+ }
|
|
|
|
+ [self addWaingView:self.window.contentView];
|
|
|
|
+ [[FMTrackEventManager defaultManager] trackEventWithEvent:@"PUW" withProperties:@{@"PUW_Btn":@"PUW_Btn_Upgrade_6Mon"}];
|
|
|
|
+
|
|
|
|
+ if ([self isShowSale]) {
|
|
|
|
+ self.kEventTag = 1;
|
|
|
|
+ if (self.isPurchaseSwitch) {
|
|
|
|
+ [self trackEvent_freeWithEventName:@"PromotionalOffer" params:@{@"PUW_Btn" : @"PUW_7OffUpgrade_12Mon"} platform:KMAnalyticsPlatformAppCenter];
|
|
|
|
+ } else {
|
|
|
|
+ [self trackEvent_freeWithEventName:@"PromotionalOffer" params:@{@"PUW_Btn" : @"PUW_7OffUpgrade_6Mon"} platform:KMAnalyticsPlatformAppCenter];
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|