0.2.1 • Published 2 years ago

@azizuysal/wallet-kit v0.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

wallet-kit

A React Native wrapper for Apple PassKit written in typescript. Google Wallet implementation will be coming soon (hopefully).

Installation

npm install wallet-kit

Usage

import { Wallet } from '@react-native/wallet';

// ...

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

0.2.1

2 years ago

0.2.0

2 years ago