Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Adding support for in-app purchase on Staging
- Loading branch information
Showing
with
7 additions
and
1 deletion.
-
+6
−0
Cliqz/Upgrade&Payment/Model/PremiumType.swift
-
+1
−1
Jenkinsfile.publish
|
|
@@ -9,9 +9,15 @@ |
|
|
import UIKit |
|
|
|
|
|
public enum PremiumType: String { |
|
|
#if BETA |
|
|
case Basic = "com.cliqz.ios.lumen.staging.sale.basic" |
|
|
case Vpn = "com.cliqz.ios.lumen.staging.sale.vpn" |
|
|
case BasicAndVpn = "com.cliqz.ios.lumen.staging.sale.basic_vpn" |
|
|
#else |
|
|
case Basic = "com.cliqz.ios.lumen.sale.basic" |
|
|
case Vpn = "com.cliqz.ios.lumen.sale.vpn" |
|
|
case BasicAndVpn = "com.cliqz.ios.lumen.sale.basic_vpn" |
|
|
#endif |
|
|
|
|
|
func hasVPN() -> Bool { |
|
|
switch self { |
|
|
|
|
|
@@ -91,7 +91,7 @@ node('gideon') { |
|
|
string(credentialsId: 'f206e880-e09a-4369-a3f6-f86ee94481f2', variable: 'SENTRY_AUTH_TOKEN'), |
|
|
string(credentialsId: 'ab91f92a-4588-4034-8d7f-c1a741fa31ab', variable: 'FASTLANE_ITC_TEAM_ID'), |
|
|
string(credentialsId: 'cc9215e4-ca8f-41bd-9e0b-1c2ba1900949', variable: 'LumenAPIKey'), |
|
|
string(credentialsId: '1593d451-3909-4b48-8b5e-9b3d289c38d1', variable: 'RevenuecatAPIKey')]) |
|
|
string(credentialsId: 'b4293427-ece9-48c5-8069-caf7fe7d5f3b', variable: 'RevenuecatAPIKey')]) |
|
|
{ |
|
|
sh '''#!/bin/bash -l |
|
|
set -x |
|
|
|