Apple Pay Pass Verify same card on Apple Watch App and Wallet Iphone

Hi Guys,

I am having an issue verifying a card when it is pending verification in the Apple Watch Wallet App and the iPhone Wallet.

When the user verifies the card in the wallets, they are redirected to verification in my APP. However, the problem is that I don't know which application is calling, whether it is the Apple Watch or the iPhone, because the URL sends me the same serialNumber from the PKPASS. It is impossible to know if the user wants to verify and activate the card on the watch or the iPhone.

Because I only receive the following information in the URL: myapp://app-url? passTypeldentifier=paymentpass.com.apple&action =verify&serialNumber=***** The serialNumber is the same from the iPhone Wallet and the Watch Wallet.

func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool
{ let source = options[.sourceApplication]

I try to retrieve the source, but it comes back null. It would be the only way to know the originating App.

Can someone help me solve this problem?

Apple Pay Pass Verify same card on Apple Watch App and Wallet Iphone
 
 
Q