diff --git a/Passepartout/App/iOS/CHANGELOG.md b/Passepartout/App/iOS/CHANGELOG.md index 33421249..383b3805 100644 --- a/Passepartout/App/iOS/CHANGELOG.md +++ b/Passepartout/App/iOS/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## Unreleased + +### Changed + +- Allow Oeck provider without any purchase. + ## 1.17.0 Beta 2812 (2021-10-11) ### Fixed diff --git a/Passepartout/App/macOS/CHANGELOG.md b/Passepartout/App/macOS/CHANGELOG.md index d0659c8b..dd7c08e9 100644 --- a/Passepartout/App/macOS/CHANGELOG.md +++ b/Passepartout/App/macOS/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## Unreleased + +### Changed + +- Allow Oeck provider without any purchase. + ## 1.17.0 Beta 2812 (2021-10-11) ### Fixed diff --git a/Passepartout/Core/Sources/Model/ProductManager.swift b/Passepartout/Core/Sources/Model/ProductManager.swift index 08ebf83f..95848349 100644 --- a/Passepartout/Core/Sources/Model/ProductManager.swift +++ b/Passepartout/Core/Sources/Model/ProductManager.swift @@ -227,6 +227,9 @@ public class ProductManager: NSObject { throw ProductError.beta } } + guard metadata.name != .oeck else { + return + } guard isEligible(forFeature: metadata.product) else { throw ProductError.uneligible } diff --git a/Passepartout/Core/Sources/Services/Infrastructure+Name.swift b/Passepartout/Core/Sources/Services/Infrastructure+Name.swift index 9f635c01..099bad83 100644 --- a/Passepartout/Core/Sources/Services/Infrastructure+Name.swift +++ b/Passepartout/Core/Sources/Services/Infrastructure+Name.swift @@ -39,6 +39,8 @@ extension Infrastructure.Name { public static let nordvpn = "nordvpn" + public static let oeck = "oeck" + public static let pia = "pia" public static let protonvpn = "protonvpn"