Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Adding support for in-app purchase on Staging

  • Loading branch information
mahmoud-adam85 authored and pavel-cliqz committed Apr 16, 2019
1 parent 08fcc38 commit f0742d9cb086811460eb2837f95b049d77db17eb
Showing with 7 additions and 1 deletion.
  1. +6 −0 Cliqz/Upgrade&Payment/Model/PremiumType.swift
  2. +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

0 comments on commit f0742d9

Please sign in to comment.