Retrograde audioplayers for android < v5; Lower starting sound; Go to Sentry 5.0

This commit is contained in:
poka 2021-04-18 02:31:47 +02:00
parent d65864225a
commit 8ff2c3d038
4 changed files with 52 additions and 10 deletions

View File

@ -54,9 +54,9 @@ Future<void> main() async {
endPointGVA = await _homeProvider.getValidEndpoint(); endPointGVA = await _homeProvider.getValidEndpoint();
if (endPointGVA == 'HS') { if (endPointGVA == 'HS') {
_homeProvider.playSound('faché', 0.7); _homeProvider.playSound('faché', 0.8);
} else { } else {
_homeProvider.playSound('start', 0.5); _homeProvider.playSound('start', 0.2);
} }
if (kReleaseMode && enableSentry) { if (kReleaseMode && enableSentry) {

View File

@ -7,7 +7,7 @@ edition = "2018"
[lib] [lib]
name = "dubp_rs" name = "dubp_rs"
crate-type = ["rlib"] crate-type = ["cdylib"]
[dependencies] [dependencies]
allo-isolate = "0.1.6" allo-isolate = "0.1.6"

View File

@ -28,7 +28,7 @@ packages:
name: audioplayers name: audioplayers
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.18.3" version: "0.18.0"
barcode: barcode:
dependency: transitive dependency: transitive
description: description:
@ -387,6 +387,48 @@ packages:
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.4.3+2" version: "0.4.3+2"
package_info_plus:
dependency: transitive
description:
name: package_info_plus
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.0"
package_info_plus_linux:
dependency: transitive
description:
name: package_info_plus_linux
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.0"
package_info_plus_macos:
dependency: transitive
description:
name: package_info_plus_macos
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.0"
package_info_plus_platform_interface:
dependency: transitive
description:
name: package_info_plus_platform_interface
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.0"
package_info_plus_web:
dependency: transitive
description:
name: package_info_plus_web
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.0"
package_info_plus_windows:
dependency: transitive
description:
name: package_info_plus_windows
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.0"
path: path:
dependency: transitive dependency: transitive
description: description:
@ -561,14 +603,14 @@ packages:
name: sentry name: sentry
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "4.1.0-nullsafety.0" version: "5.0.0"
sentry_flutter: sentry_flutter:
dependency: "direct main" dependency: "direct main"
description: description:
name: sentry_flutter name: sentry_flutter
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "4.0.4" version: "5.0.0"
shared_preferences: shared_preferences:
dependency: "direct main" dependency: "direct main"
description: description:

View File

@ -5,7 +5,7 @@ description: Pay with G1.
# pub.dev using `pub publish`. This is preferred for private packages. # pub.dev using `pub publish`. This is preferred for private packages.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 0.0.2+4 version: 0.0.2+5
environment: environment:
sdk: ">=2.7.0 <3.0.0" sdk: ">=2.7.0 <3.0.0"
@ -39,14 +39,14 @@ dependencies:
fast_base58: fast_base58:
logger: ^1.0.0 logger: ^1.0.0
flutter_logs: ^2.1.3 flutter_logs: ^2.1.3
sentry: ^4.0.4 sentry: ^5.0.0
sentry_flutter: ^4.0.4 sentry_flutter: ^5.0.0
bubble: ^1.1.9+1 bubble: ^1.1.9+1
flutter_svg: ^0.20.0-nullsafety flutter_svg: ^0.20.0-nullsafety
responsive_framework: ^0.0.14 responsive_framework: ^0.0.14
responsive_builder: ^0.3.0 responsive_builder: ^0.3.0
jdenticon_dart: ^2.0.0 jdenticon_dart: ^2.0.0
audioplayers: ^0.18.3 audioplayers: 0.18.0
flutter_icons: flutter_icons:
android: "ic_launcher" android: "ic_launcher"