https://github.com/reeq-dev/react-native-ios-passkit
React-Native wrapper for iOS PassKit. Contains a PKAddPassButton and a methods to work with PassKit.
https://github.com/reeq-dev/react-native-ios-passkit
Last synced: 6 months ago
JSON representation
React-Native wrapper for iOS PassKit. Contains a PKAddPassButton and a methods to work with PassKit.
- Host: GitHub
- URL: https://github.com/reeq-dev/react-native-ios-passkit
- Owner: reeq-dev
- License: mit
- Created: 2022-08-18T16:16:45.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2023-05-04T10:24:04.000Z (about 3 years ago)
- Last Synced: 2025-09-27T03:11:02.623Z (10 months ago)
- Language: Java
- Size: 448 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
## Warning
This package is deprecated and won't be supported. Please use https://www.npmjs.com/package/@reeq/react-native-passkit instead. It supports google wallet API and some additional functionality for iOS as well.
# react-native-ios-passkit
React-Native wrapper for iOS PassKit. Contains a PKAddPassButton and a methods to work with PassKit.
## Installation
```sh
npm install @reeq/react-native-ios-passkit
```
or
```sh
yarn add @reeq/react-native-ios-passkit
```
and
```sh
cd ios/
pod install
```
## Usage
```js
import {
canAddPasses,
addPass,
AddPassButton,
} from '@reeq/react-native-ios-passkit';
// ...
{
try {
const isAddable = await canAddPasses();
if (isAddable) {
await addPass('YOUR BASE 64 PASS');
}
} catch (err) {
console.log(err);
}
}}
/>;
```
## Creating pass
Passes can be created with library (nodejs):
https://www.npmjs.com/package/@walletpass/pass-js
## Contributing
See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.
## License
MIT
---
Made with [create-react-native-library](https://github.com/callstack/react-native-builder-bob)