We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 123bf18 commit 82209a0Copy full SHA for 82209a0
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "react-native-sound",
3
- "version": "0.7.1",
+ "version": "0.7.2",
4
"description": "React Native module for playing sound clips on iOS and Android",
5
"main": "sound.js",
6
"repository": {
sound.js
@@ -1,7 +1,7 @@
'use strict';
var RNSound = require('react-native').NativeModules.RNSound;
-var IsAndroid = !!RNSound.setLooping;
+var IsAndroid = (typeof RNSound.setLooping) !== 'undefined';
var nextKey = 0;
7
0 commit comments