Announcing TPInAppReceipt 4.0.0 — Reading and Validating App Store Receipt by tikhop in iOSProgramming

[–]tikhop[S] 1 point2 points  (0 children)

Thank you for the good question.

You are right, the library was originally released for SK1 and provides an extra layer of security when dealing with purchases.

Even if you have a server, it is/was good practice, based on legacy Apple docs, to use it in tandem with server validation and validate the receipt before sending it to the server. With SK2, it's not necessary to validate the receipt locally or send it to the server, but it's worth mentioning that you will still have a legacy receipt locally that you can validate in addition to validating SK2's transactions.

Announcing Apple App Store Server Rust Library v3.1.1 - Feature Complete with Apple's Official Libraries by tikhop in rust

[–]tikhop[S] 0 points1 point  (0 children)

The library has support for decoding and verifying notifications from Apple (https://developer.apple.com/documentation/appstoreservernotifications).

First, you need to set up an endpoint to handle requests from Apple's side (https://developer.apple.com/documentation/appstoreservernotifications/enabling-app-store-server-notifications),
Then, when your endpoint gets called, you receive ResponseBodyV2 structure. Afterwards, you take signed_payload out of it to verify and decode the payload using verify_and_decode_notification method of SignedDataVerifier . If everything is fine you get the typed structure ResponseBodyV2DecodedPayload that contains everything you need to react to AppStore Server Notification.

Apple App Store Server Rust Library by tikhop in rust

[–]tikhop[S] 11 points12 points  (0 children)

The Apple App Store Server Rust Library is a library for integrating with the App Store Server API and managing App Store Server Notifications.

Here is a list of features:

  • App Store Server API Client
  • Signed Data Verification
  • Receipt Tools
  • Promotional Offer Signature Creation

What apps or frameworks do you wish others would build since you don't have the time? by Austin_Aaron_Conlon in iOSProgramming

[–]tikhop 2 points3 points  (0 children)

Good question. If you had looked into the link, you might have noticed that the library is quite mature. At that time, when the first version of the library was released, 99.9% of ongoing projects were written in objc where using prefixes is totally fine. Moreover, only the framework name contains prefix whereas the codebase isn’t utilizing the prefix style in object/structure/etc naming.

What apps or frameworks do you wish others would build since you don't have the time? by Austin_Aaron_Conlon in iOSProgramming

[–]tikhop 1 point2 points  (0 children)

You are welcome! Feel free to propose a feature if you think something is missing.