i2edu 64e73b6d74 修复本地播放问题 4 gadi atpakaļ
..
android c06a8ab93d init commit 5 gadi atpakaļ
ios c06a8ab93d init commit 5 gadi atpakaļ
lib c06a8ab93d init commit 5 gadi atpakaļ
res c06a8ab93d init commit 5 gadi atpakaļ
test c06a8ab93d init commit 5 gadi atpakaļ
.flutter-plugins-dependencies 64e73b6d74 修复本地播放问题 4 gadi atpakaļ
.gitignore c06a8ab93d init commit 5 gadi atpakaļ
.metadata c06a8ab93d init commit 5 gadi atpakaļ
README.md c06a8ab93d init commit 5 gadi atpakaļ
flutter_sound_example.iml c06a8ab93d init commit 5 gadi atpakaļ
flutter_sound_example_android.iml c06a8ab93d init commit 5 gadi atpakaļ
pubspec.yaml c06a8ab93d init commit 5 gadi atpakaļ

README.md

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" />