Skip to content

Commit

Permalink
Merge pull request #810 from vbuberen/update/dependencies
Browse files Browse the repository at this point in the history
Update dependencies and README
  • Loading branch information
kalismeras61 authored Dec 7, 2023
2 parents d381c4c + f8301a2 commit 5c3e628
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 55 deletions.
13 changes: 1 addition & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,20 +37,9 @@ AssetsAudioPlayer.newPlayer().open(
```yaml
dependencies:
assets_audio_player: ^3.0.8

or

recommend to use below. While we don't have access pub...

assets_audio_player:
git:
url: https://github.com/florent37/Flutter-AssetsAudioPlayer.git
ref: master

ref can be latest commit id.
```
**Works with `flutter: ">=1.12.13+hotfix.6 <2.0.0"`, be sure to upgrade your sdk**
**Works with `flutter: ">=3.3.0"`, be sure to upgrade your sdk**

You like the package ? buy me a kofi :)

Expand Down
2 changes: 1 addition & 1 deletion analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
include: package:pedantic/analysis_options.yaml
include: package:flutter_lints/flutter.yaml
2 changes: 1 addition & 1 deletion assets_audio_player_web/analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
include: package:pedantic/analysis_options.yaml
include: package:flutter_lints/flutter.yaml
40 changes: 4 additions & 36 deletions assets_audio_player_web/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,19 @@ version: 3.1.1
homepage: https://github.com/florent37/Flutter-AssetsAudioPlayer

environment:
sdk: ">=2.12.0 <3.0.0"
flutter: ">=2.0.0"
sdk: ">=2.18.0 <4.0.0"
flutter: ">=3.3.0"

dependencies:
flutter:
sdk: flutter
flutter_web_plugins:
sdk: flutter
#flutter_web_howl: ^1.0.0

dev_dependencies:
flutter_test:
sdk: flutter
pedantic: ^1.11.1
flutter_lints: ^2.0.2

# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec
Expand All @@ -40,35 +39,4 @@ flutter:
pluginClass: AssetsAudioPlayerWebPlugin
web:
pluginClass: AssetsAudioPlayerWebPlugin
fileName: web/assets_audio_player_web.dart

# To add assets to your plugin package, add an assets section, like this:
# assets:
# - images/a_dot_burr.jpeg
# - images/a_dot_ham.jpeg
#
# For details regarding assets in packages, see
# https://flutter.dev/assets-and-images/#from-packages
#
# An image asset can refer to one or more resolution-specific 'variants', see
# https://flutter.dev/assets-and-images/#resolution-aware.

# To add custom fonts to your plugin package, add a fonts section here,
# in this 'flutter' section. Each entry in this list should have a
# 'family' key with the font family name, and a 'fonts' key with a
# list giving the asset and other descriptors for the font. For
# example:
# fonts:
# - family: Schyler
# fonts:
# - asset: fonts/Schyler-Regular.ttf
# - asset: fonts/Schyler-Italic.ttf
# style: italic
# - family: Trajan Pro
# fonts:
# - asset: fonts/TrajanPro.ttf
# - asset: fonts/TrajanPro_Bold.ttf
# weight: 700
#
# For details regarding fonts in packages, see
# https://flutter.dev/custom-fonts/#from-packages
fileName: web/assets_audio_player_web.dart
10 changes: 5 additions & 5 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ version: 3.1.1
homepage: https://github.com/florent37/Flutter-AssetsAudioPlayer

environment:
sdk: ">=2.19.0 <3.0.0"
flutter: ">=2.0.0"
sdk: ">=2.19.0 <4.0.0"
flutter: ">=3.3.0"

dependencies:
flutter:
sdk: flutter
rxdart: ^0.27.3
uuid: ^3.0.5
rxdart: ^0.27.7
uuid: ">=3.0.7 <5.0.0"
http: ">=0.13.0 <2.0.0" # to download / cache network files
path_provider: ^2.0.8 # removed this because it cancel flutter/android/ios on pub.dev path_provider: ^1.6.10

Expand All @@ -28,7 +28,7 @@ dependencies:
dev_dependencies:
flutter_test:
sdk: flutter
pedantic: ^1.11.1
flutter_lints: ^2.0.2

flutter:
plugin:
Expand Down

0 comments on commit 5c3e628

Please sign in to comment.