cordova-plugin-passgetter

Plugin for adding passes to Apple Wallet

Usage no npm install needed!

<script type="module">
  import cordovaPluginPassgetter from 'https://cdn.skypack.dev/cordova-plugin-passgetter';
</script>

README

com.nortal.cordova-plugin-passgetter

This plugin provides support for showing Passbook passs to your users and allows them to add it to their native Wallet (regardless of how you create your passes, whether you do it on your own or using any third-party services like PassSlot)

NOTE: This plugin does not allow you to create Passbook passes.

Installation

cordova plugin add cordova-plugin-passgetter

Supported Platforms

  • iOS

Example

Passbook.downloadPass('https://d.pslot.io/cQY2f', token, function (pass, added) {
    console.log(pass, added);
}, function (error) {
    console.error(error);
});