GUID validation fix
This commit is contained in:
@@ -54,8 +54,8 @@ public extension InAppReceipt
|
||||
}
|
||||
|
||||
#if os(iOS) || os(watchOS) || os(tvOS)
|
||||
guard let v = Bundle.main.infoDictionary?["CFBundleShortVersionString"] as? String,
|
||||
v == originalAppVersion else
|
||||
guard let v = Bundle.main.infoDictionary?["CFBundleVersion"] as? String,
|
||||
v == appVersion else
|
||||
{
|
||||
throw IARError.validationFailed(reason: .bundleVersionVefirication)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user