Skip to content
This repository was archived by the owner on May 18, 2022. It is now read-only.

Files

Latest commit

9773478 · Dec 27, 2019

History

History
This branch is 5 commits ahead of, 2230 commits behind Canardoux/flutter_sound:master.

example

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Dec 14, 2019
Dec 14, 2019
Dec 27, 2019
Aug 18, 2018
Jan 27, 2019
Dec 14, 2019
Aug 13, 2018
Aug 13, 2018
Aug 18, 2018
Aug 13, 2018
Aug 13, 2018
Dec 14, 2019
Dec 14, 2019

flutter_sound_example

This is not a playlist audio module and this library provides simple recorder and player functionalities for both android and ios platforms. This only supports default file extension for each platform. This module can also handle file from url.

Getting Started

For help getting started with Flutter, view our online documentation.

Install

Add flutter_sound as a dependency in pubspec.yaml For help on adding as a dependency, view the documentation.

Post Installation

On iOS you need to add a usage description to info.plist:

<key>NSMicrophoneUsageDescription</key>
<string>This sample uses the microphone to record your speech and convert it to text.</string>
<key>UIBackgroundModes</key>
<array>
	<string>audio</string>
</array>

On Android you need to add a permission to AndroidManifest.xml:

<uses-permission android:name="android.permission.RECORD_AUDIO" />