tamtamchik / apple-iap-tools

Types and verifyReceipt function for Apple in-app purchases and server notifications.
MIT License
13 stars 2 forks source link

SNS 2? #5

Open philipyoungg opened 2 years ago

philipyoungg commented 2 years ago

Thank you for this! I assume this is based on SNS 1 right?

Any plan for 2nd version?

tamtamchik commented 2 years ago

@philipyoungg yep, this is for V1. Frankly speaking, I didn't know that they had moved to V2. Thank you!

I will take a closer look at changes in V2 next week and probably bump the package version as well.

tamtamchik commented 2 years ago

Just to keep everyone updated: it's WIP at the moment. Changes in Apple's API are very complex, so I'm working on covering with types all those 3 APIs related to Server Notifications and Receipt Validation:

Also will probably add JWS support and helpers to work with JWS based objects.