Skip to content

phpfox-mobile/react-native-a-beep

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-native-a-beep

Play system sounds and beep for react-native apps

Install

  • npm install "react-native-a-beep"
  • react-native link

Usage

import RNBeep from 'react-native-a-beep';

Examples:

    <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(RNBeep.iOSSoundIDs.AudioToneBusy) }} title="Beep iOS Custom"></Button>

Happy Beep!

FREE!

About

Play system sounds and beep for react-native app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 70.5%
  • Java 19.0%
  • Ruby 6.1%
  • Objective-C 4.4%