Giter Club home page Giter Club logo

Comments (4)

GreydeskChirag avatar GreydeskChirag commented on June 14, 2024

Yes, Require any changes in existing apps?

from swiftystorekit.

gesabo avatar gesabo commented on June 14, 2024

I found this but still not 💯 sure if this will effect SwiftyStoreKit...can anyone chime in? https://www.revenuecat.com/blog/engineering/app-store-receipt-signing-certificate-changes-in-2023/

from swiftystorekit.

SergejLogis avatar SergejLogis commented on June 14, 2024

Surely it would be best to hear from the author, but here is some analysis from my side:

The linked Apple document states:

If you verify App Store transactions using the AppTransaction and Transaction APIs, or the verifyReceipt web service endpoint, no action is required.

SwiftyStoreKit uses verifyReceipt service for validation. So, no action is needed from our side 🤓

public class AppleReceiptValidator: ReceiptValidator {

	public enum VerifyReceiptURLType: String {
		case production = "https://buy.itunes.apple.com/verifyReceipt"
		case sandbox = "https://sandbox.itunes.apple.com/verifyReceipt"
	}

        ...
}

from swiftystorekit.

gesabo avatar gesabo commented on June 14, 2024

I'm not sure if its related but seems coincidental that this went into place January 18, 2023 and today January 26, 2023 when calling SwiftyStoreKit.verifyReceipt I am now getting Finished refreshing receipt with error: Error Domain=ASDServerErrorDomain Code=500328 "Unhandled exception" UserInfo={NSLocalizedFailureReason=An unknown error occurred, NSLocalizedDescription=Unhandled exception, AMSServerErrorCode=0} as well as Receipt verification failed: networkError(error: Error Domain=SKErrorDomain Code=0 "An unknown error occurred" UserInfo={NSLocalizedDescription=An unknown error occurred, NSUnderlyingError=0x283a2b960 {Error Domain=ASDServerErrorDomain Code=500328 "Unhandled exception" UserInfo={NSLocalizedDescription=Unhandled exception, NSLocalizedFailureReason=An unknown error occurred}}}) which I never recall happening before, so maybe this is an issue?

update: a few minutes later I am not getting this error in the sandbox anymore, but if I download my app from the store its fully unlocked - which could only happen if SwiftyStoreKit.verifyReceipt returns an error. So it seems to either be related to case production = "https://buy.itunes.apple.com/verifyReceipt" or there is an outage with the App Store but system status says its green. 🤔 Obviously this is nearly impossible to test since it's production.

from swiftystorekit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.