In swift when I sign out and then try to purchase a subscription again it fails with a generic store error. Yet in the underlying error there is more data:
Error: Optional(STORE_PROBLEM)
Message: There was a problem with the App Store.
Underlying Error: Error Domain=SKErrorDomain Code=0 "An unknown error occurred" UserInfo={NSLocalizedDescription=An unknown error occurred, NSUnderlyingError=0x2833c8ea0 {Error Domain=ASDServerErrorDomain Code=3532 "You’re currently subscribed to this." UserInfo={NSLocalizedDescription=You’re currently subscribed to this.}}}
Purchases.ErrorCode is of no use and I couldn’t figure out the magic incantation to get to the useful bit. Any ideas?
thanks