0.1.2 • Published 3 years ago

@lowkey/audio-releaser v0.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

@lowkey/audio-releaser

Release AV session after usage

Installation

npm install @lowkey/audio-releaser

or

yarn add @lowkey/audio-releaser

then install pods

cd ios/ && pod install

Usage

To set AVSession category

CategoryAre
PlaybackAVAudioSessionCategoryPlayback
PlayAndRecordAVAudioSessionCategoryPlayAndRecord
import AudioReleaser from "@lowkey/audio-releaser";

// ...
AudioReleaser.setCategory('Playback');

To release audio after usage

import AudioReleaser from "@lowkey/audio-releaser";

// ...
AudioReleaser.releaseAudio();

Contributing

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

License

MIT

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago