Skip to content

Commit 20f3c5d

Browse files
authored
[PassKit] Implement Xcode 16.2 beta 1-3 changes. (#21720)
1 parent a351430 commit 20f3c5d

File tree

5 files changed

+8
-9
lines changed

5 files changed

+8
-9
lines changed

src/passkit.cs

+7-3
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,10 @@ interface PKPassLibrary {
9292
[return: NullAllowed]
9393
PKPass GetPass (string identifier, string serialNumber);
9494

95+
[iOS (18, 2), MacCatalyst (18, 2), Mac (15, 2)]
96+
[Export ("passesWithReaderIdentifier:")]
97+
NSSet<PKSecureElementPass> GetPasses (string readerIdentifier);
98+
9599
[MacCatalyst (13, 1)]
96100
[Export ("passesOfType:")]
97101
PKPass [] GetPasses (PKPassType passType);
@@ -1352,17 +1356,17 @@ interface PKPaymentAuthorizationController {
13521356
[Export ("dismissWithCompletion:")]
13531357
void Dismiss ([NullAllowed] Action completion);
13541358

1355-
[NoWatch, NoTV, NoMac, iOS (17, 0), MacCatalyst (17, 0)]
1359+
[NoWatch, NoTV, Mac (15, 0), iOS (17, 0), MacCatalyst (17, 0)]
13561360
[Static]
13571361
[Export ("supportsDisbursements")]
13581362
bool SupportsDisbursements ();
13591363

1360-
[NoWatch, NoTV, NoMac, iOS (17, 0), MacCatalyst (17, 0)]
1364+
[NoWatch, NoTV, Mac (15, 0), iOS (17, 0), MacCatalyst (17, 0)]
13611365
[Static]
13621366
[Export ("supportsDisbursementsUsingNetworks:")]
13631367
bool SupportsDisbursements (string [] supportedNetworks);
13641368

1365-
[NoWatch, NoTV, NoMac, iOS (17, 0), MacCatalyst (17, 0)]
1369+
[NoWatch, NoTV, Mac (15, 0), iOS (17, 0), MacCatalyst (17, 0)]
13661370
[Static]
13671371
[Export ("supportsDisbursementsUsingNetworks:capabilities:")]
13681372
bool SupportsDisbursements (string [] supportedNetworks, PKMerchantCapability capabilities);

tests/cecil-tests/Documentation.KnownFailures.txt

+1
Original file line numberDiff line numberDiff line change
@@ -41533,6 +41533,7 @@ M:PassKit.PKPassLibrary.GetEncryptedServiceProviderDataAsync(PassKit.PKSecureEle
4153341533
M:PassKit.PKPassLibrary.GetPass(System.String,System.String)
4153441534
M:PassKit.PKPassLibrary.GetPasses
4153541535
M:PassKit.PKPassLibrary.GetPasses(PassKit.PKPassType)
41536+
M:PassKit.PKPassLibrary.GetPasses(System.String)
4153641537
M:PassKit.PKPassLibrary.GetServiceProviderData(PassKit.PKSecureElementPass,System.Action{Foundation.NSData,Foundation.NSError})
4153741538
M:PassKit.PKPassLibrary.GetServiceProviderDataAsync(PassKit.PKSecureElementPass)
4153841539
M:PassKit.PKPassLibrary.OpenPaymentSetup

tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-PassKit.todo

-1
This file was deleted.

tests/xtro-sharpie/api-annotations-dotnet/iOS-PassKit.todo

-1
This file was deleted.

tests/xtro-sharpie/api-annotations-dotnet/macOS-PassKit.todo

-4
This file was deleted.

0 commit comments

Comments
 (0)