Saturday, July 6, 2024
HomeiOS DevelopmentKvitto 1.0.5 | Cocoanetics

Kvitto 1.0.5 | Cocoanetics

[ad_1]

Following the earlier launch, I obtained phrase that Apple had added a brand new type of gross sales receipt which is used for IAP testing. This launch provides assist for these.

Adjustments

  • NEW: Added assist for indefinite size encoding for containers
  • NEW: Added assist for decoding date strings with a UTC offset as a substitute of Z.

For first change was completed in DTFoundation which comprises DTASN1, our ASN.1 decoder. When writing an ASN.1 file you’d usually know all lengths of all containers and primitive values and so you might specify the size following every tag. Apple was doing so in all gross sales receipts to date and we didn’t have any challenge with it.

In Xcode 12, Apple added a brand new manner of testing In-App purchases (see Introducing StoreKit Testing in Xcode WWDC 2020 discuss for more information).  This broke parsing.

They began utilizing indefinite size encoding for varied container parts, together with however not restricted to the PKCS7 container. As soon as I had applied that, I discovered that additionally they had a sure date with +0300 as timezone, as a substitute of Z (for UTC) as we had beforehand encountered. So I wanted so as to add this variant as nicely.

The replace was tagged on GitHub (which additionally serves as new launch for Swift Bundle Supervisor) and can be obtainable through Cocoapods.



Additionally printed on Medium.


Tagged as:

Classes: Updates

[ad_2]

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments