Skip to content

Updates to Barcode, Pass, and SemanticTags. - #31

Merged
hiimtmac merged 1 commit into
hiimtmac:mainfrom
mohalibou:main
Aug 12, 2026
Merged

Updates to Barcode, Pass, and SemanticTags.#31
hiimtmac merged 1 commit into
hiimtmac:mainfrom
mohalibou:main

Conversation

@mohalibou

Copy link
Copy Markdown
Contributor

Made some additions and fixes in preparation for iOS 27.

/// A URL to track baggage through the airline app.
public var trackBagsURL: URL?
  • BarcodeFormat contains four new cases for iOS 27. (Documentation)
public enum BarcodeFormat: String, Codable, Equatable, Hashable, CaseIterable, Sendable {
    case qr = "PKBarcodeFormatQR"
    case pdf = "PKBarcodeFormatPDF417"
    case aztec = "PKBarcodeFormatAztec"
    case code128 = "PKBarcodeFormatCode128"
    case code39 = "PKBarcodeFormatCode39"
    case codabar = "PKBarcodeFormatCodabar"
    case ean13 = "PKBarcodeFormatEAN13"
    case i2of5 = "PKBarcodeFormatI2of5"
}
  • SemanticTagType.WifiNetwork was missing captiveToken and captiveTokenAuthURL. Now added. (Documentation)
/// Token credential required to log in to Captive Portal.
public var captiveToken: String?

/// The URL of the authentication server that verifies the client using a token credential.
public var captiveTokenAuthURL: String?
  • PassengerCapability enum was missing lapInfant case. Now added. (Documentation)
public enum PassengerCapability: String, Codable, Equatable, Hashable, CaseIterable, Sendable {
    case preboarding = "PKPassengerCapabilityPreboarding"
    case priorityBoarding = "PKPassengerCapabilityPriorityBoarding"
    case carryon = "PKPassengerCapabilityCarryon"
    case personalItem = "PKPassengerCapabilityPersonalItem"
    case lapInfant = "PKPassengerCapabilityLapInfant"
}

@hiimtmac hiimtmac left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thank you very much!

@hiimtmac
hiimtmac merged commit 732ec64 into hiimtmac:main Aug 12, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants