Commit 61d0ea83 authored by Jose Blaya's avatar Jose Blaya
Browse files

Merge branch...

Merge branch '157-retrieve-eligible_for_trial-attribute-from-the-json-response' into 'release/2.2.0'

Resolve "Retrieve eligible_for_trial attribute from the json response"

See merge request ios/client-library-apple!214
parents f79ed5da ca8168b7
......@@ -243,8 +243,7 @@ class PIAWebServices: WebServices, ConfigurationAccess {
let receipt = json["receipt"] as? [String: Any] ?? [:]
let eligibleForTrial = receipt["eligible_for_trial"] as? Bool ?? false
let eligibleForTrial = json["eligible_for_trial"] as? Bool ?? false
let info = AppStoreInformation(products: products,
eligibleForTrial: eligibleForTrial)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment