Socket
Socket
Sign inDemoInstall

react-native-audio-ducking

Package Overview
Dependencies
525
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    react-native-audio-ducking

React Native module for audio ducking (temporarily lowering the volume level of audio)


Version published
Weekly downloads
10
increased by233.33%
Maintainers
1
Install size
81.6 MB
Created
Weekly downloads
 

Readme

Source

react-native-audio-ducking

React Native module for audio ducking (temporarily lowering the volume level of audio)

Installation

npm install react-native-audio-ducking

iOS

npm install react-native-swift
react-native swiftify

Set the minimum iOS version 10.0

Android

no additional steps required

Usage

import AudioDucking from "react-native-audio-ducking";

// ...

  async function duckAudio() {
    try {
      await AudioDucking.duckAudio();
    } catch (error) {
      console.log('duckAudio error', error);
    }
  }

  async function removeAudioDucking() {
    try {
      await AudioDucking.removeAudioDucking();
    } catch (error) {
      console.log('removeAudioDucking error', error);
    }
  }

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT

Keywords

FAQs

Last updated on 13 Feb 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc