# react-native-sounds-beep

> A very lite module to play system sounds and beep for react-native apps (no sound files)

Latest version **0.0.1** (published 2020-10-06) · SEE LICENSE IN <filename> license · 0 weekly downloads

## Install

```sh
npm install react-native-sounds-beep
pnpm add react-native-sounds-beep
yarn add react-native-sounds-beep
bun add react-native-sounds-beep
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2020-10-06 |
| First published | 2020-10-06 |
| Weekly downloads | 0 |
| License | SEE LICENSE IN <filename> |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 27.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Triet Ho |
| Maintainers | sohaib.elkhatib |
| Keywords | react-native, system sounds |

## Links

- npm: https://www.npmjs.com/package/react-native-sounds-beep
- Repository: https://github.com/SohaibKtb/react-native-sounds-beep
- Homepage: https://github.com/SohaibKtb/react-native-sounds-beep#readme
- Issues: https://github.com/SohaibKtb/react-native-sounds-beep/issues
- npm.io page: https://npm.io/package/react-native-sounds-beep

## Recent versions

- 0.0.1 (latest) — 2020-10-06

## README

# react-native-sounds-beep
A very lite module to play system sounds and beep for react-native apps (no sound files)

## Original Auther
Thanks to trietho

https://github.com/trietho/react-native-a-beep

## Install
using npm:
```js
npm i "react-native-sounds-beep"
```
or using yarn
```js
yarn add "react-native-sounds-beep"
```
## Usage

```js
import RNBeep from 'react-native-sounds-beep';
```
Examples:
```js
<Button onPress={ () => {RNBeep.beep()} } title="Beep Success"></Button>
<Button onPress={ () => {RNBeep.beep(false)} } title="Beep Fail"></Button>
<Button onPress={ () => {RNBeep.PlaySysSound(RNBeep.AndroidSoundIDs.TONE_CDMA_ABBR_ALERT)} } title="Beep Android Custom"></Button>
<Button onPress={ () => {RNBeep.PlaySysSound(41)} } title="Beep Something"></Button>
<Button onPress={ () => {RNBeep.PlaySysSound(RNBeep.iOSSoundIDs.AudioToneBusy)} } title="Beep iOS Custom"></Button>
```

Happy Beep!

FREE!

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