mirror of
https://github.com/status-im/react-native-camera.git
synced 2025-02-24 09:48:17 +00:00
Remove duplicate playSoundOnCapture property (#299)
On Android this throws a SyntaxError: Attempted to redefine property 'playSoundOnCapture'.
This commit is contained in:
parent
bff819c574
commit
a2f8901f95
1
index.js
1
index.js
@ -177,7 +177,6 @@ export default class Camera extends Component {
|
||||
options = {
|
||||
audio: props.captureAudio,
|
||||
barCodeTypes: props.barCodeTypes,
|
||||
playSoundOnCapture: props.playSoundOnCapture,
|
||||
mode: props.captureMode,
|
||||
playSoundOnCapture: props.playSoundOnCapture,
|
||||
target: props.captureTarget,
|
||||
|
Loading…
x
Reference in New Issue
Block a user