WalletDiagnosis class
Why provisioning is unavailable on this build or device.
This exists because the failure that matters most is silent: without the Apple Wallet Access
Key entitlement, pass queries return an empty list rather than an error, which looks exactly
like a user who simply has no passes. Call EntryReadyWallet.diagnose() when nothing works and
show or log summary before assuming a bug in your own code.
- Annotations
Constructors
- WalletDiagnosis({required bool isPassLibraryAvailable, required bool isSimulator, required bool? hasEntitlement, required int visiblePassCount})
-
const
Properties
- canProvision → bool
-
Whether this build could provision at all, entitlement and hardware aside from the user's
own choices.
no setter
- hasEntitlement → bool?
-
Whether the embedded provisioning profile carries
com.apple.developer.contactless-payment-pass-provisioning.final - hashCode → int
-
The hash code for this object.
no setterinherited
- isPassLibraryAvailable → bool
-
PKPassLibrary.isPassLibraryAvailable().final - isSimulator → bool
-
The Simulator has no Secure Element, so no pass can ever be added there.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- summary → String
-
One line naming the most likely blocker, suitable for a log or a support ticket.
no setter
- visiblePassCount → int
-
How many secure-element passes the app can currently see, across all devices.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited