Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

checkPairedDevicesBySuffix use deprecated PKPassTypePayment #36

Open
alexisGandar opened this issue Sep 3, 2021 · 3 comments
Open

checkPairedDevicesBySuffix use deprecated PKPassTypePayment #36

alexisGandar opened this issue Sep 3, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@alexisGandar
Copy link

Hello,

I am having trouble to get the passes from the PKPassLibrary. I am having no pass even when i have a card in my wallet.

I use the checkPairedDevicesBySuffix to see if my card is in the wallet and this method is using PKPassTypePayment in order to get the passes from the PKPassLibrary.
PKPassTypePayment is deprecated since iOS 13.4. In other methods like checkCardEligibility, there is a check on the iOS version in order to decided what to use between PKPassTypePayment and PKPassTypeSecureElement.

Why there is no check on this method ? this may be why i don't catch any pass

@tomavic
Copy link
Owner

tomavic commented Sep 4, 2021

hello @alexisGandar
I will look into this and update here. This could be served in the upcoming version update once a solution is presented.

Thanks for using cordova apple wallet plugin.

@tomavic tomavic added the bug Something isn't working label Sep 4, 2021
@peckz
Copy link

peckz commented Jul 22, 2022

Hey @tomavic 👋 , I'm also trying to use checkPairedDevicesBySuffix in my current cordova project.
I can confirm that cards are connected to Apple Wallet, but response is always false.
Do you think it's because of deprecated PKPassTypePayment or something else could be wrong?

@tomavic
Copy link
Owner

tomavic commented Jul 25, 2022

Hey @peckz Let me check and once I find solution will post here. Please feel free to share the solution if you found it. As I don't have the time to maintain the plugin at the mean time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants