Skip to content

Commit

Permalink
remvoe extra pkg from root lib and update example app
Browse files Browse the repository at this point in the history
  • Loading branch information
nikk.li committed Oct 21, 2019
1 parent 99d0074 commit 8b3b58e
Show file tree
Hide file tree
Showing 7 changed files with 39 additions and 21 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.4.7
* Remove extra pkg from lib
* Update example app

## 0.4.6
* Add swift version compiler code

Expand Down
10 changes: 5 additions & 5 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PODS:
- audioplayer (0.0.1):
- audioplayers (0.0.1):
- Flutter
- Flutter (1.0.0)
- flutter_audio_recorder (0.4.5):
Expand All @@ -8,14 +8,14 @@ PODS:
- Flutter

DEPENDENCIES:
- audioplayer (from `.symlinks/plugins/audioplayer/ios`)
- audioplayers (from `.symlinks/plugins/audioplayers/ios`)
- Flutter (from `.symlinks/flutter/ios`)
- flutter_audio_recorder (from `.symlinks/plugins/flutter_audio_recorder/ios`)
- path_provider (from `.symlinks/plugins/path_provider/ios`)

EXTERNAL SOURCES:
audioplayer:
:path: ".symlinks/plugins/audioplayer/ios"
audioplayers:
:path: ".symlinks/plugins/audioplayers/ios"
Flutter:
:path: ".symlinks/flutter/ios"
flutter_audio_recorder:
Expand All @@ -24,7 +24,7 @@ EXTERNAL SOURCES:
:path: ".symlinks/plugins/path_provider/ios"

SPEC CHECKSUMS:
audioplayer: f4462b84216b9c55f02bbbdc7ab60eec7427b2d4
audioplayers: 84f968cea3f2deab00ec4f8ff53358b3c0b3992c
Flutter: 0e3d915762c693b495b44d77113d4970485de6ec
flutter_audio_recorder: d44a21331c96ce09be664cdfe1db54a58951fdf1
path_provider: f96fff6166a8867510d2c25fdcc346327cc4b259
Expand Down
4 changes: 2 additions & 2 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import 'dart:async';
import 'dart:io' as io;
import 'dart:io';

import 'package:audioplayer/audioplayer.dart';
import 'package:audioplayers/audioplayers.dart';
import 'package:file/file.dart';
import 'package:file/local.dart';
import 'package:flutter/material.dart';
Expand Down Expand Up @@ -252,6 +252,6 @@ class RecorderExampleState extends State<RecorderExample> {

void onPlayAudio() async {
AudioPlayer audioPlayer = AudioPlayer();
await audioPlayer.play(_current.path);
await audioPlayer.play(_current.path, isLocal: true);
}
}
31 changes: 26 additions & 5 deletions example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "2.3.0"
audioplayer:
dependency: transitive
audioplayers:
dependency: "direct main"
description:
name: audioplayer
name: audioplayers
url: "https://pub.dartlang.org"
source: hosted
version: "0.5.2"
version: "0.13.2"
boolean_selector:
dependency: transitive
description:
Expand All @@ -36,6 +36,20 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "1.14.11"
convert:
dependency: transitive
description:
name: convert
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.1"
crypto:
dependency: transitive
description:
name: crypto
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.3"
file:
dependency: "direct main"
description:
Expand All @@ -54,7 +68,7 @@ packages:
path: ".."
relative: true
source: path
version: "0.4.0"
version: "0.4.6"
flutter_test:
dependency: "direct dev"
description: flutter
Expand Down Expand Up @@ -170,6 +184,13 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.6"
uuid:
dependency: transitive
description:
name: uuid
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.2"
vector_math:
dependency: transitive
description:
Expand Down
1 change: 1 addition & 0 deletions example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ dependencies:
sdk: flutter
path_provider: ^1.1.0
file: ^5.0.4
audioplayers: ^0.13.2


dev_dependencies:
Expand Down
7 changes: 0 additions & 7 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,6 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "2.3.0"
audioplayer:
dependency: "direct main"
description:
name: audioplayer
url: "https://pub.dartlang.org"
source: hosted
version: "0.5.2"
boolean_selector:
dependency: transitive
description:
Expand Down
3 changes: 1 addition & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_audio_recorder
description: Flutter Audio Record Plugin that supports Record Pause Resume Stop and provide access to audio level metering properties average power peak power.
version: 0.4.6
version: 0.4.7
authors:
- wenyan <[email protected]>
- tao zhu <[email protected]>
Expand All @@ -14,7 +14,6 @@ dependencies:
flutter:
sdk: flutter
file: ^5.0.4
audioplayer: ^0.5.2


dev_dependencies:
Expand Down

0 comments on commit 8b3b58e

Please sign in to comment.