Apple Wallet pass and badge integration in mobile app

TRUETECH is engaged in the development, support and maintenance of iOS, Android, PWA mobile applications. We have extensive experience and expertise in publishing mobile applications in popular markets like Google Play, App Store, Amazon, AppGallery and others.
Development and support of all types of mobile applications:
Information and entertainment mobile applications
News apps, games, reference guides, online catalogs, weather apps, fitness and health apps, travel apps, educational apps, social networks and messengers, quizzes, blogs and podcasts, forums, aggregators
E-commerce mobile applications
Online stores, B2B apps, marketplaces, online exchanges, cashback services, exchanges, dropshipping platforms, loyalty programs, food and goods delivery, payment systems.
Business process management mobile applications
CRM systems, ERP systems, project management, sales team tools, financial management, production management, logistics and delivery management, HR management, data monitoring systems
Electronic services mobile applications
Classified ads platforms, online schools, online cinemas, electronic service platforms, cashback platforms, video hosting, thematic portals, online booking and scheduling platforms, online trading platforms

These are just some of the types of mobile applications we work with, and each of them may have its own specific features and functionality, tailored to the specific needs and goals of the client.

Showing 1 of 1 servicesAll 1735 services
Apple Wallet pass and badge integration in mobile app
Medium
from 1 business day to 3 business days
FAQ
Our competencies:
Development stages
Latest works
  • image_mobile-applications_feedme_467_0.webp
    Development of a mobile application for FEEDME
    757
  • image_mobile-applications_xoomer_471_0.webp
    Development of a mobile application for XOOMER
    624
  • image_mobile-applications_rhl_428_0.webp
    Development of a mobile application for RHL
    1054
  • image_mobile-applications_zippy_411_0.webp
    Development of a mobile application for ZIPPY
    947
  • image_mobile-applications_affhome_429_0.webp
    Development of a mobile application for Affhome
    874
  • image_mobile-applications_flavors_409_0.webp
    Development of a mobile application for the FLAVORS company
    445

Apple Wallet Integration for Access Passes and Badges in Mobile Apps

An employee or conference participant pass is a generic-type .pkpass. Generic is the most flexible type: there are no strict semantic constraints on fields, structure is determined by the task. For corporate badges, often include employee photos via thumbnail.png (90×90 @1x, 180×180 @2x) — displayed in the top-right corner of the card.

pass.json for Access Pass

{
  "formatVersion": 1,
  "passTypeIdentifier": "pass.com.yourcompany.badge",
  "serialNumber": "BADGE-EMP-1042",
  "teamIdentifier": "ABCDE12345",
  "organizationName": "YourCompany",
  "description": "Employee Access Pass",
  "foregroundColor": "rgb(255,255,255)",
  "backgroundColor": "rgb(0,80,160)",
  "generic": {
    "primaryFields": [
      { "key": "name", "value": "Ivan Petrov", "label": "Employee" }
    ],
    "secondaryFields": [
      { "key": "department", "value": "Engineering", "label": "Department" },
      { "key": "access", "value": "A, B, C", "label": "Access Zones" }
    ],
    "auxiliaryFields": [
      { "key": "role", "value": "Senior Developer", "label": "Position" }
    ],
    "backFields": [
      { "key": "emergency", "label": "Emergency Contact", "value": "+7 (495) 123-45-67" },
      { "key": "valid", "label": "Valid Until", "value": "31.12.2024" }
    ],
    "barcode": {
      "message": "BADGE-EMP-1042",
      "format": "PKBarcodeFormatQR",
      "messageEncoding": "iso-8859-1"
    }
  }
}

thumbnail.png is added as a file in the archive — PassKit picks it up automatically by name.

NFC for Access Control

Generic passes support NFC via the nfc field in pass.json — only for iOS 13+ devices:

"nfc": {
  "message": "BADGE-EMP-1042-NFC-TOKEN",
  "encryptionPublicKey": "base64-encoded-ec-public-key"
}

An NFC reader at a turnstile reads the encrypted message. However, there's a limitation: NFC in Wallet for a third-party reader only works through Apple's Value Added Services Program — requires a partnership agreement with Apple. Without the program, the NFC function won't activate.

Alternative without partnership — QR scanner. Works reliably, requires only a camera at the entrance.

Pass Lifecycle Management

An employee pass has a clear cycle: issuance → active use → revocation (termination, role change). Revocation is implemented two ways:

Via expirationDate — the pass automatically becomes invalid. Suitable for temporary passes (conference, contractor).

Via voided: true with push-update — for immediate revocation. Server receives an event (HR system, termination) → sends APN push → device downloads updated pass with voided: true → Wallet displays pass as invalid.

When downloading an updated pass, the server must return HTTP 200 with the new .pkpass. If HTTP 304 is returned, the device won't update anything.

Temporary Passes for Events

A conference participant badge uses the same logic, but relevantDate is set to the first day of the event, expirationDate to the last day. You can add a day schedule via backFields:

"backFields": [
  { "key": "schedule", "label": "Program", "value": "09:00 Registration\n10:00 Keynote\n14:00 Workshops" }
]

HR System Integration

The pass should be automatically created upon hiring and revoked upon termination. Webhook from HR system (1C, Bamboo HR, SAP) → server generates .pkpass and emails it to the employee.

For email integration: link like https://api.yourcompany.com/badges/{token}.pkpass — iOS opens it via Safari and offers "Add to Wallet". MIME type should be application/vnd.apple.pkpass.

For role changes — don't revoke the pass, update it instead: PATCH request to the web service URL updates department and role fields. Wallet picks up changes automatically.

Timeline

1–3 days: pass generation with thumbnail, setting up push-updates on revocation, optionally NFC through Value Added Services. Pricing is calculated individually.