A React Native wrapper for Apple PassKit written in typescript. Google Wallet implementation will be coming soon (hopefully).
npm install wallet-kit
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);
}
};
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT