Skip to content

Commit f5d1819

Browse files
authored
Merge pull request #818 from appwrite/fix-flutter-score
Update dependencies
2 parents 59234d6 + 20530c7 commit f5d1819

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

templates/flutter/lib/src/realtime_mixin.dart.twig

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ mixin RealtimeMixin {
2121
late WebSocketFactory getWebSocket;
2222
GetFallbackCookie? getFallbackCookie;
2323
int? get closeCode => _websok?.closeCode;
24-
int _subscriptionsCounter = 0;
2524
Map<int, RealtimeSubscription> _subscriptions = {};
2625
bool _notifyDone = true;
2726
StreamSubscription? _websocketSubscription;
@@ -144,7 +143,6 @@ mixin RealtimeMixin {
144143
channels: channels,
145144
close: () async {
146145
_subscriptions.remove(id);
147-
_subscriptionsCounter--;
148146
controller.close();
149147
_cleanup(channels);
150148

templates/flutter/pubspec.yaml.twig

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,17 @@ dependencies:
1919
flutter:
2020
sdk: flutter
2121
cookie_jar: ^4.0.8
22-
device_info_plus: ^9.1.2
22+
device_info_plus: ^10.1.0
2323
flutter_web_auth_2: ^3.1.1
2424
http: '>=0.13.6 <2.0.0'
25-
package_info_plus: ^5.0.1
26-
path_provider: ^2.1.2
27-
web_socket_channel: ^2.4.3
28-
universal_html: ^2.2.2
25+
package_info_plus: ^8.0.0
26+
path_provider: ^2.1.3
27+
web_socket_channel: ^2.4.5
28+
universal_html: ^2.2.4
2929
3030
dev_dependencies:
3131
path_provider_platform_interface: ^2.1.2
32-
flutter_lints: ^3.0.1
32+
flutter_lints: ^3.0.2
3333
flutter_test:
3434
sdk: flutter
3535
mockito: ^5.4.4

0 commit comments

Comments
 (0)