We will be sunsetting Advisor during Jan, 2026 and will instead be providing information in Snyk Security DB.

You can begin to take advantage of Snyk Security DB today for a unified, package-centric experience.

How to use the react-native-sound.LIBRARY function in react-native-sound

To help you get started, weโ€™ve selected a few react-native-sound examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github flarocca / react-native-music-player-service / src / MusicPlayerService.js View on Github external
return new Promise((resolve: Function, reject: Function) => {
      this._releaseTrack();

      this._trackPlaying = new Sound(track.path, Sound.LIBRARY, (error) => {
        if (error) {
          reject(error);
        } else {
          resolve();
        }
      });
    });
  }

react-native-sound

React Native module for playing sound clips on iOS, Android, and Windows

MIT
Latest version published 3 months ago

Package Health Score

84 / 100
Full package analysis