Recognize IAPs other than full version on Mac (#281)
This commit is contained in:
parent
d4d3d97081
commit
07bd126131
|
@ -26,6 +26,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
|
|
||||||
- Improve kill switch behavior. [#181](https://github.com/passepartoutvpn/passepartout-apple/issues/181)
|
- Improve kill switch behavior. [#181](https://github.com/passepartoutvpn/passepartout-apple/issues/181)
|
||||||
- Retain original filename as imported profile name. [#240](https://github.com/passepartoutvpn/passepartout-apple/pull/240)
|
- Retain original filename as imported profile name. [#240](https://github.com/passepartoutvpn/passepartout-apple/pull/240)
|
||||||
|
- In-app purchases other than full version were not recognized (macOS). [#281](https://github.com/passepartoutvpn/passepartout-apple/pull/281)
|
||||||
|
|
||||||
## 2.0.2 (2022-10-31)
|
## 2.0.2 (2022-10-31)
|
||||||
|
|
||||||
|
|
|
@ -205,12 +205,8 @@ class ProductManager: NSObject, ObservableObject {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if isMac {
|
|
||||||
return isFullVersion()
|
|
||||||
} else {
|
|
||||||
return isFullVersion() || purchasedFeatures.contains(feature)
|
return isFullVersion() || purchasedFeatures.contains(feature)
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
func isEligible(forProvider providerName: ProviderName) -> Bool {
|
func isEligible(forProvider providerName: ProviderName) -> Bool {
|
||||||
guard providerName != .oeck else {
|
guard providerName != .oeck else {
|
||||||
|
|
Loading…
Reference in New Issue