# react-native-pass-kit-helper

> Suppress apple pay in React-Native

Latest version **1.0.0** (published 2019-10-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-native-pass-kit-helper
pnpm add react-native-pass-kit-helper
yarn add react-native-pass-kit-helper
bun add react-native-pass-kit-helper
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2019-10-09 |
| First published | 2019-10-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 81 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Arnold Sanglepp |
| Maintainers | sanglepp |
| Keywords | react-native |

## Links

- npm: https://www.npmjs.com/package/react-native-pass-kit-helper
- Repository: https://github.com/github_account/react-native-pass-kit-helper
- Homepage: https://github.com/github_account/react-native-pass-kit-helper#readme
- Issues: https://github.com/github_account/react-native-pass-kit-helper/issues
- npm.io page: https://npm.io/package/react-native-pass-kit-helper

## Recent versions

- 1.0.0 (latest) — 2019-10-09

## README

# react-native-pass-kit-helper

> ### Important!
>This method requires a special entitlement issued by Apple. If the entitlement is not present, the request will fail. For more information, see [Apple Developer - Apple Pay](https://developer.apple.com/apple-pay/).

## Getting started

`$ npm install react-native-pass-kit-helper --save`

### Mostly automatic installation React-Native <0.60.0

`$ react-native link react-native-pass-kit-helper`

### Manual installation


#### iOS

1. In XCode, in the project navigator, right click `Libraries` ➜ `Add Files to [your project's name]`
2. Go to `node_modules` ➜ `react-native-pass-kit-helper` and add `PassKitHelper.xcodeproj`
3. In XCode, in the project navigator, select your project. Add `libPassKitHelper.a` to your project's `Build Phases` ➜ `Link Binary With Libraries`
4. Run your project (`Cmd+R`)<


## Usage
```javascript
import PassKitHelper from 'react-native-pass-kit-helper';

// to suppress apple pay

	if (Platform.OS === 'ios') {
		PassKitHelper.suppressApplePay();
	}

// to enable apple pay

 if (Platform.OS === 'ios') {
		PassKitHelper.enableApplePay();
	}


```

---
_Source: https://npm.io/package/react-native-pass-kit-helper · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
