mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-13 07:55:18 +00:00
fix(android): use multi assetAudioPlayer instance fix patch and disable Pre-download and play by default in Android too
This commit is contained in:
parent
1fff0f1bd0
commit
cdb32685e4
@ -246,6 +246,6 @@ final userPreferencesProvider = ChangeNotifierProvider(
|
||||
recommendationMarket: 'US',
|
||||
themeMode: ThemeMode.system,
|
||||
layoutMode: kIsMobile ? LayoutMode.compact : LayoutMode.adaptive,
|
||||
predownload: kIsMobile,
|
||||
predownload: false,
|
||||
),
|
||||
);
|
||||
|
@ -100,10 +100,11 @@ packages:
|
||||
assets_audio_player:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
name: assets_audio_player
|
||||
sha256: dcea8cd9c11cd9c34586f2446bfcdf099362159c56f97517ba941ac151974ea9
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
path: "."
|
||||
ref: "4cbd4bc4b7be8a329effbb52c5b3f5d3ab042b35"
|
||||
resolved-ref: "4cbd4bc4b7be8a329effbb52c5b3f5d3ab042b35"
|
||||
url: "https://github.com/mt633/Flutter-AssetsAudioPlayer"
|
||||
source: git
|
||||
version: "3.0.6"
|
||||
assets_audio_player_web:
|
||||
dependency: transitive
|
||||
|
@ -10,7 +10,12 @@ environment:
|
||||
|
||||
dependencies:
|
||||
args: ^2.3.2
|
||||
assets_audio_player: ^3.0.6
|
||||
# Patch for the uncontrollable shadow instance of ExoPlayer running in bg
|
||||
# https://github.com/florent37/Flutter-AssetsAudioPlayer/issues/765
|
||||
assets_audio_player:
|
||||
git:
|
||||
url: https://github.com/mt633/Flutter-AssetsAudioPlayer
|
||||
ref: 4cbd4bc4b7be8a329effbb52c5b3f5d3ab042b35
|
||||
async: ^2.9.0
|
||||
audio_service: ^0.18.9
|
||||
audio_session: ^0.1.13
|
||||
|
Loading…
Reference in New Issue
Block a user