Closed haseeb-islam closed 5 years ago
Hi Haseebb, Please share your example code.
Thanks
import RNBeep from 'react-native-a-beep';
<Button onPress={() => {RNBeep.beep() }} title="Beep Success"> <Button onPress={() => {RNBeep.beep(false) }} title="Beep Fail"> <Button onPress={() => {RNBeep.PlaySysSound(RNBeep.AndroidSoundIDs.TONE_CDMA_ABBR_ALERT) }} title="Beep Android Custom"> <Button onPress={() => {RNBeep.PlaySysSound(RNBeep.iOSSoundIDs.AudioToneBusy) }} title="Beep iOS Custom">
You may try a clean install of your npm packages firstly.
i did but nothing happened.
yahoooo issue solved . issue was in linking in ios . by manually linking issue will solve.
Good to hear!
i am facing this issue PlaySysSound is undefined