Skip to content

A React Native wrapper for Apple and Google wallet passes written in TypeScript.

License

Notifications You must be signed in to change notification settings

azizuysal/wallet-kit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@azizuysal/wallet-kit

A React Native wrapper for Apple and Google wallet passes written in TypeScript. Google wallet passes are not supported yet.

Installation

npm install @azizuysal/wallet-kit

Usage

import { multiply } from '@azizuysal/wallet-kit';

// ...

const addSinglePass = async () => {
    try {
      const file = await ... // read pkpass file into base64 string
      await Wallet.addPass(file);
    } catch (error) {
      console.error(error);
    }
  };

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT