Disable Apple Pay UI when 13.56Mhz detection

Hello all,


We have some readers which have to be waken up by the touch of the iPhone, and after that our BLE protocol makes its job. The problem is that as soon as the iPhone's NFC controller detects non-modulated 13.56Mhz RF field prior to 14443 modulation, the Apple Pay UI is prompted to the user.


Is there any way to disable this UI temporary or anything? The only thing we have found is to remove all virtual cards, but obviously this is not a valid solution.


Thanks in advance.

There is a new API on PKPassLibrary that should support this in iOS 9. Please file a bug decribing more about your use case and we will try to make progress from there.

Hello Henry Sherman,


We are aware now that there is specific method within iOS 9 that supports what we want.


+ (PKSuppressionRequestToken)requestAutomaticPassPresentationSuppressionWithResponseHandler:(void (^ _Nonnull)(PKAutomaticPassPresentationSuppressionResult result))

responseHandler

However, every time we call this method we get the following response: PKAutomaticPassPresentationSuppressionResultDenied (Either the user prevented the suppression, or an internal error occurred)


In the documentation marks as an importante note that:


IMPORTANT

This method requires a special entitlement issued by Apple. If the entitlement is not present, the request will fail with a

PKAutomaticPassPresentationSuppressionResultNotSupported
result. For more information, see developer.apple.com/apple-pay/.


What should we do in order to get the PKAutomaticPassPresentationSuppressionResultSuccess result? We have enabled the Apple Pay in our "Apple ID" and even created a Merchand ID, after that downloaded again the Development Provisioning Profile which includes all this and included in the project. There as well we enabled the "Apple Pay" capability but we still get the PKAutomaticPassPresentationSuppressionResultDenied error.


Testing environment Information:

- iPhone 6 with an Apple Pay enabled card

- iOS 9.0.1 (13A404)


Thanks for all

Hello,


We are experiencing the same issue as you.

It would be great if you have a response to this issue from Apple to reshare it here with us as well.


Thanks!

Hello Mihai1706,


Still no answer from Apple support apart from the first one HenrySherman did. We have even posted this issue in StackOverflow forum but it seems nobody knows the answer, meanwhile we will wait this thread to be attended.


Regards

Hello GoRoS,


I've tried to use another app developer with ties to somebody at Apple about this.


The answer was from that person (that apparently has a contact in the PassKit team) that the call is not meant to be used to disable Apple Pay UI from appearing but rather from preventing loyalty passes from being passed over.


I argued that this is not what the API doc wording is saying. I provided him with my Bug ID from January when we first experienced the issue and this helped him say that the issue is kown by the team (Apple Pay UI appearing when next to RFID readers) but that the suppress method in the PassKit framework would not be the solution. He then acknowledged that either the docs are confusing or the team is confused about what this method really does in the PassKit framework.


This is very bizarre to me. I will let you know if I have other developments on the matter.


All the best.

Hello Mihai,


Thanks for the progress and yes indeed, it's very strange. The documentations is quite clear about what this method should do and it's purpose. However, it still does not explain why I get that error when invoking the method.


Please Apple dev team, we will appreaciate your feedback about this topic.


Best regards.

Hello GoRoS,


Just to keep you updated, I received a response to a TSI I submitted. The result was that I need to submit a request for a special entitlement using the Contact Us link in the lower right corner on the following page.https://developer.apple.com/apple-pay/


I'm trying this next. Let's see where it goes.


Best Regards,

Accepted Answer

GoRoS,


FYI. I was able to get this working!


The Apple Pay team (per the other response I shared) delivered to our development team an "extended capability" for Apple Pay suppression.

We then created a custom provisionning profile which adds this extended capability and SUCCESS!


We now have a successful way of disabling Apple Pay UI.


Best Regards!

Hello Mihai!


Sorry for reading this a bit late, we followed the same path you did with the same result. I have just posted it on StackOverflow in case someone else is stuck in our same situation. Anyway, I'll give your answer in this forum as valid ;-).


http://stackoverflow.com/a/34411139/812598


Take care!

Hello!

Can you provide details about how to contact Apple.

I sent a lot of mail but did not receive any response

Disable Apple Pay UI when 13.56Mhz detection
 
 
Q