SwiftBindings.Apple.ProximityReader 27.2.0

dotnet add package SwiftBindings.Apple.ProximityReader --version 27.2.0
                    
NuGet\Install-Package SwiftBindings.Apple.ProximityReader -Version 27.2.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SwiftBindings.Apple.ProximityReader" Version="27.2.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SwiftBindings.Apple.ProximityReader" Version="27.2.0" />
                    
Directory.Packages.props
<PackageReference Include="SwiftBindings.Apple.ProximityReader" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add SwiftBindings.Apple.ProximityReader --version 27.2.0
                    
#r "nuget: SwiftBindings.Apple.ProximityReader, 27.2.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package SwiftBindings.Apple.ProximityReader@27.2.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=SwiftBindings.Apple.ProximityReader&version=27.2.0
                    
Install as a Cake Addin
#tool nuget:?package=SwiftBindings.Apple.ProximityReader&version=27.2.0
                    
Install as a Cake Tool

SwiftBindings.Apple.ProximityReader

Native .NET bindings for Apple's ProximityReader framework — Tap to Pay on iPhone, contactless payment-card reads, and mobile-document NFC reads. These are not Objective-C proxy wrappers; they use .NET's native Swift interop for direct, high-performance calls into Swift APIs from C#.

📖 Full usage guide → — Swift→C# naming, the reader/session lifecycle, payment & VAS reads, mobile documents, and error handling.

Installation

dotnet add package SwiftBindings.Apple.ProximityReader

Requirements

  • .NET 10 with Xcode 26 or 27, or .NET 11 with Xcode 27.2. Install the .NET workload released for your Xcode version (see Choosing .NET and Xcode).
  • Target framework: Use versionless net10.0-ios or net11.0-ios (or the matching -maccatalyst TFM). The package includes a build for each supported .NET and Xcode pairing, and NuGet restores the one matching your toolchain. Pinning an older platform version (for example, net10.0-ios18.0) fails restore with NU1202. The target framework sets the .NET platform version you compile against, not your app's deployment minimum.
  • Deployment minimum is separate — set your app's real minimum OS with <SupportedOSPlatformVersion> (independent of the TFM above). Individual APIs that need a newer OS at runtime are gated by generated [SupportedOSPlatform] attributes; the C# compiler flags a call that isn't valid for your target.
  • macOS host for development
  • iPhone XS or later
  • Tap to Pay on iPhone entitlement (Apple-issued)

Usage

using Foundation;
using ProximityReader;

// A purchase for $1.99 USD
var amount = NSDecimalNumber.FromString("1.99");
var transaction = new PaymentCardTransactionRequest(
    amount,
    currencyCode: "USD",
    type: PaymentCardTransactionRequest.TransactionType.Purchase);

// A non-payment card verification (e.g. age verification)
var verify = new PaymentCardVerificationRequest(currencyCode: "USD");

// A VAS request (Apple Wallet pass / loyalty)
var vas = new VASRequest();

The PaymentCardReader, MobileDocumentReader, StoreAndForwardBatch, and supporting result/error types are all bound. See Tap to Pay on iPhone for end-to-end onboarding (entitlement request, merchant attestation, session lifecycle).

Documentation

How It Works

These bindings are auto-generated by Swift Dotnet Bindings using .NET's native Swift interop via the SwiftBindings SDK.

License

The bindings are MIT licensed. ProximityReader is part of the Apple SDK; refer to Apple's licensing for the underlying framework.

Product Compatible and additional computed target framework versions.
.NET net10.0-ios26.0 is compatible.  net10.0-ios27.2 is compatible.  net10.0-maccatalyst26.0 is compatible.  net10.0-maccatalyst27.2 is compatible.  net11.0-ios27.2 is compatible.  net11.0-maccatalyst27.2 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
27.2.0 94 11/30/2026
26.2.16 138 10/28/2026
26.2.15 146 9/22/2026
26.2.14 154 9/5/2026
26.2.13 140 9/2/2026
26.2.12 148 8/29/2026
26.2.11 140 8/24/2026
26.2.10 153 8/5/2026
26.2.9 138 7/31/2026
26.2.8 172 6/27/2026
26.2.7 150 6/15/2026
26.2.6 162 6/11/2026
26.2.5 162 6/1/2026
26.2.3 146 5/19/2026
26.2.1 147 5/3/2026