A React Native wrapper for Apple and Google wallet passes written in TypeScript. Google wallet passes are not supported yet.
npm install @azizuysal/wallet-kit
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);
}
};
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT