Skip to content

Commit 2df14e8

Browse files
author
Johannes Koch
committed
fix tests and analyze
1 parent 45dd4f2 commit 2df14e8

4 files changed

Lines changed: 76 additions & 1 deletion

File tree

frontend/src/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ public static void registerWith(@NonNull FlutterEngine flutterEngine) {
3535
} catch (Exception e) {
3636
Log.e(TAG, "Error registering plugin amplify_secure_storage, com.amazonaws.amplify.amplify_secure_storage.AmplifySecureStoragePlugin", e);
3737
}
38+
try {
39+
flutterEngine.getPlugins().add(new xyz.luan.audioplayers.AudioplayersPlugin());
40+
} catch (Exception e) {
41+
Log.e(TAG, "Error registering plugin audioplayers_android, xyz.luan.audioplayers.AudioplayersPlugin", e);
42+
}
3843
try {
3944
flutterEngine.getPlugins().add(new dev.fluttercommunity.plus.connectivity.ConnectivityPlugin());
4045
} catch (Exception e) {

frontend/src/ios/Runner/GeneratedPluginRegistrant.m

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@
1818
@import amplify_secure_storage;
1919
#endif
2020

21+
#if __has_include(<audioplayers_darwin/AudioplayersDarwinPlugin.h>)
22+
#import <audioplayers_darwin/AudioplayersDarwinPlugin.h>
23+
#else
24+
@import audioplayers_darwin;
25+
#endif
26+
2127
#if __has_include(<connectivity_plus/ConnectivityPlusPlugin.h>)
2228
#import <connectivity_plus/ConnectivityPlusPlugin.h>
2329
#else
@@ -83,6 +89,7 @@ @implementation GeneratedPluginRegistrant
8389
+ (void)registerWithRegistry:(NSObject<FlutterPluginRegistry>*)registry {
8490
[AmplifyAuthCognitoPlugin registerWithRegistrar:[registry registrarForPlugin:@"AmplifyAuthCognitoPlugin"]];
8591
[AmplifySecureStoragePlugin registerWithRegistrar:[registry registrarForPlugin:@"AmplifySecureStoragePlugin"]];
92+
[AudioplayersDarwinPlugin registerWithRegistrar:[registry registrarForPlugin:@"AudioplayersDarwinPlugin"]];
8693
[ConnectivityPlusPlugin registerWithRegistrar:[registry registrarForPlugin:@"ConnectivityPlusPlugin"]];
8794
[FPPDeviceInfoPlusPlugin registerWithRegistrar:[registry registrarForPlugin:@"FPPDeviceInfoPlusPlugin"]];
8895
[FLTImagePickerPlugin registerWithRegistrar:[registry registrarForPlugin:@"FLTImagePickerPlugin"]];

frontend/src/lib/services/feedback_sound_service.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import 'dart:math';
2-
import 'dart:typed_data';
32
import 'package:audioplayers/audioplayers.dart';
43
import 'package:flutter/foundation.dart';
54

frontend/src/pubspec.lock

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,62 @@ packages:
129129
url: "https://pub.dev"
130130
source: hosted
131131
version: "2.13.1"
132+
audioplayers:
133+
dependency: "direct main"
134+
description:
135+
name: audioplayers
136+
sha256: a72dd459d1a48f61a6fb9c0134dba26597c9236af40639ff0eb70eb4e0baab70
137+
url: "https://pub.dev"
138+
source: hosted
139+
version: "6.6.0"
140+
audioplayers_android:
141+
dependency: transitive
142+
description:
143+
name: audioplayers_android
144+
sha256: "60a6728277228413a85755bd3ffd6fab98f6555608923813ce383b190a360605"
145+
url: "https://pub.dev"
146+
source: hosted
147+
version: "5.2.1"
148+
audioplayers_darwin:
149+
dependency: transitive
150+
description:
151+
name: audioplayers_darwin
152+
sha256: c994b3bb3a921e4904ac40e013fbc94488e824fd7c1de6326f549943b0b44a91
153+
url: "https://pub.dev"
154+
source: hosted
155+
version: "6.4.0"
156+
audioplayers_linux:
157+
dependency: transitive
158+
description:
159+
name: audioplayers_linux
160+
sha256: f75bce1ce864170ef5e6a2c6a61cd3339e1a17ce11e99a25bae4474ea491d001
161+
url: "https://pub.dev"
162+
source: hosted
163+
version: "4.2.1"
164+
audioplayers_platform_interface:
165+
dependency: transitive
166+
description:
167+
name: audioplayers_platform_interface
168+
sha256: "0e2f6a919ab56d0fec272e801abc07b26ae7f31980f912f24af4748763e5a656"
169+
url: "https://pub.dev"
170+
source: hosted
171+
version: "7.1.1"
172+
audioplayers_web:
173+
dependency: transitive
174+
description:
175+
name: audioplayers_web
176+
sha256: faa8fa6587f996a6f604433b53af44c57a1407d4fe8dff5766cf63d6875e8de9
177+
url: "https://pub.dev"
178+
source: hosted
179+
version: "5.2.0"
180+
audioplayers_windows:
181+
dependency: transitive
182+
description:
183+
name: audioplayers_windows
184+
sha256: bafff2b38b6f6d331887558ba6e0a01c9c208d9dbb3ad0005234db065122a734
185+
url: "https://pub.dev"
186+
source: hosted
187+
version: "4.3.0"
132188
aws_common:
133189
dependency: transitive
134190
description:
@@ -1217,6 +1273,14 @@ packages:
12171273
url: "https://pub.dev"
12181274
source: hosted
12191275
version: "0.3.1"
1276+
synchronized:
1277+
dependency: transitive
1278+
description:
1279+
name: synchronized
1280+
sha256: c254ade258ec8282947a0acbbc90b9575b4f19673533ee46f2f6e9b3aeefd7c0
1281+
url: "https://pub.dev"
1282+
source: hosted
1283+
version: "3.4.0"
12201284
term_glyph:
12211285
dependency: transitive
12221286
description:

0 commit comments

Comments
 (0)