Home IOS Development Kvitto 1.0.4 | Cocoanetics

Kvitto 1.0.4 | Cocoanetics

Kvitto 1.0.4 | Cocoanetics


Kvitto is an open supply part that permits you to parse Apple gross sales receipt recordsdata, for instance to find out if the consumer has an lively auto-renewing subscription on machine.

This new launch fixes an pressing difficulty that appeared the primary time on September twenty fourth, in iOS 14, the place about half the gross sales receipts couldn’t be parsed. I additionally added assist for Swift Package deal Supervisor 2 weeks in the past and had forgotten to announce the discharge, so there you go.


  • NEW: Help Swift Package deal Supervisor
  • FIXED: dates with fractional seconds wouldn’t be parsed
  • FIXED: Calm down verify for sequence in root of PKCS7 container, as Apple may typically provide solely 3 components as a substitute of 5

After seeing and collaborating with a number of motivated builders on including SPM assist to DTFoundation and DTCoreText I felt empowered to sort out this for Kvitto myself.

In regards to the mounted bug… I acquired first phrase about new points with Kvitto from Canada on September twenty fifth:

We’ve been getting some emails up to now couple days from customers saying their subscription isn’t validating.

At first I shrugged this off, as a result of I hadn’t modified something, and why would Apple change one thing right here? However then within the night of September twenty seventh, I acquired an in depth difficulty report from Germany, pinpointing the difficulty as being associated to Apple now typically together with fractional seconds on date fields. So as a substitute of 2020-09-27T12:07:19Z we’d now – typically, not at all times – get 2020-09-27T12:07:19.686Z – which NSDateFormatter shouldn’t be good sufficient to disregard.

My repair is mainly to verify the size of the string after which use the right date format for that.

The discharge has been tagged on GitHub, thus is obtainable by way of Swift Package deal Supervisor on the grasp department, and it has additionally been launched by way of CocoaPods trunk.

Additionally printed on Medium.

Tagged as:

Classes: Updates



Please enter your comment!
Please enter your name here