[iOS] Create a card/pass with 'Add to Apple Wallet' button

Hi Techies,

I am developing an ionic application, wherein, I need to show a card (sort of like, a credit card with a series). Now to cater to iOS users, i want to add the following button below the card:

appleWallet

Clicking on this button must add the respective card/pass to the Apple Wallet (previously, Apple Passbook).

I can create the card/pass using https://ionicframework.com/docs/components/#cards, with custom CSS.
But does Ionic provide a way to add functionality to the button?

On some research, I could find these two Cordova plugins:

  1. https://github.com/passslot/cordova-plugin-passbook (to add pass to native Wallet)
  2. https://github.com/samkelleher/cordova-plugin-applepay (to integrate Apple Pay services)

Is this the correct way to do this in Ionic? Has anybody implemented this using a different logic/ plugins? Basically, any implementation of PassKit APIs in Ionic?

Any help appreciated.

Thanks :slight_smile:

Hi! I’m wondering if could you post here the results of your search :slight_smile: I am looking for informations =D

@ashygoyal have you implemented this, if yes can you share your code or thoughts and how create card/pass.
Thanks!

Hi Umerbilal,
r u get any success?

Did you end up getting this to work?

I’d also like to know this…