Detect if HCE app is not the default contactless app and jump directly to the default contactless app selection settings.

Hello,

I am developing an HCE-based contactless payment application for the European Economic Area. I want to detect when my application is not the default contactless app and forward the user to the iOS settings for selecting the default contactless app.

Question #1: How can I detect that my app is not the default contactless app?

Question #2: How can I forward the user directly to the default contactless app selection in iOS settings? This line of code forwards the user to my app’s settings, which contains a reference to the default contactless app selection, but I couldn’t forward the user directly to the default contactless app selection view:

UIApplication.shared.open(URL(string: "app-settings:root=General")!)

There must be a way to jump directly to the default contactless app selection view as described in Apple's commitment to the EU (Case AT.40452, Chapter 3.8): "Apple will enable HCE Payment Applications to redirect users directly to the App’s page in settings and include a link which will take the user directly to the NFC settings page to easily set the default Payment Application for NFC In-Store Payments. (https://ec.europa.eu/competition/antitrust/cases1/202428/AT_40452_10155330_9978_4.pdf)

Hello, I also have the same question raised "How to detect my App is the default App". Is there any suggested solution to this topic?

Best Regards, Satya

Glad to see I'm not the only one facing this issue. I'm also working in the EEA with HCE and also SE for the other supported countries. The user experience for other payment applications is a bit poor without having the support for this.

Detect if HCE app is not the default contactless app and jump directly to the default contactless app selection settings.
 
 
Q