Releases: justdmitry/PassKitHelper
v4.0.0
- Switch to
System.Text.Json
fornet6.0
and higher (but still useNewtonsoft.Json
fornetstandard2.0
); - BREAKING: Rename tuple element names (use correct casing) in
IPassKitService
: you may need to update names in your code too.
v3.5.0
v3.4.0
- Update packages;
- Add support for
net9.0
.
v3.3.0
- Drop support for
netcoreapp3.1
; - Add support for
net8.0
v3.2.1: @3X image files support
v3.1
- Additional overloads for
PassBuilder
: DataDetectorTypes(), TextAlignment(), Add() with DataDetectorType/NumberStyle net6.0
added into target frameworks list
v3.0
New PassKitHelper
for easy webapp integration.
v2.0.0
Breaking change while bugfixing: lastModified
return value added to IPassKitService.GetPassAsync
.
This value is used to set Last-Modified
header in response. Without this, Apple server sends error into /log endpoint:
Server returned the pass data for serial number '...' but did not provide a 'last-modified' header.
v1.0.1 Bugfix release
Fixed error in PassKitMiddleware
when authorization token had been searched when it is not required (before GetAssociatedPassesAsync
) and wrongly reported as "warning".
Also, sample code for making push notification (about pass change) added to Demo project.
v1.0.0: Interact with Apple server
Now you can configure your webapp to receive notifications (about pass installations/deinstallations) and update already-installed passes on user devices without need to remove/re-add:
- Implement
IPassKitService
to react on webhooks and send pass updates; - Register your
IPassKitService
implementation and addAddPassKitMiddleware
in yourStartup
class.