SwiftBindings.ProximityReader
26.2.0
SwiftBindings.Apple.ProximityReader
Additional DetailsMigrating to new namespace, adding ".Apple" for better discoverability and identity.
dotnet add package SwiftBindings.ProximityReader --version 26.2.0
NuGet\Install-Package SwiftBindings.ProximityReader -Version 26.2.0
<PackageReference Include="SwiftBindings.ProximityReader" Version="26.2.0" />
<PackageVersion Include="SwiftBindings.ProximityReader" Version="26.2.0" />
<PackageReference Include="SwiftBindings.ProximityReader" />
paket add SwiftBindings.ProximityReader --version 26.2.0
#r "nuget: SwiftBindings.ProximityReader, 26.2.0"
#:package SwiftBindings.ProximityReader@26.2.0
#addin nuget:?package=SwiftBindings.ProximityReader&version=26.2.0
#tool nuget:?package=SwiftBindings.ProximityReader&version=26.2.0
SwiftBindings.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 10's native Swift interop for direct, high-performance calls into Swift APIs from C#.
Installation
dotnet add package SwiftBindings.ProximityReader
Requirements
- .NET 10.0+
- iOS 26.2+, Mac Catalyst 26.2+
- 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 10'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 | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0-ios26.2 is compatible. net10.0-maccatalyst26.2 is compatible. |
-
net10.0-ios26.2
- SwiftBindings.Apple (>= 26.2.0)
- SwiftBindings.Runtime (>= 0.8.0 && < 0.9.0)
-
net10.0-maccatalyst26.2
- SwiftBindings.Apple (>= 26.2.0)
- SwiftBindings.Runtime (>= 0.8.0 && < 0.9.0)
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 |
|---|