Skip to content

Commit

Permalink
Merge pull request #818 from appwrite/fix-flutter-score
Browse files Browse the repository at this point in the history
Update dependencies
  • Loading branch information
eldadfux committed Apr 25, 2024
2 parents 59234d6 + 20530c7 commit f5d1819
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
2 changes: 0 additions & 2 deletions templates/flutter/lib/src/realtime_mixin.dart.twig
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ mixin RealtimeMixin {
late WebSocketFactory getWebSocket;
GetFallbackCookie? getFallbackCookie;
int? get closeCode => _websok?.closeCode;
int _subscriptionsCounter = 0;
Map<int, RealtimeSubscription> _subscriptions = {};
bool _notifyDone = true;
StreamSubscription? _websocketSubscription;
Expand Down Expand Up @@ -144,7 +143,6 @@ mixin RealtimeMixin {
channels: channels,
close: () async {
_subscriptions.remove(id);
_subscriptionsCounter--;
controller.close();
_cleanup(channels);

Expand Down
12 changes: 6 additions & 6 deletions templates/flutter/pubspec.yaml.twig
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,17 @@ dependencies:
flutter:
sdk: flutter
cookie_jar: ^4.0.8
device_info_plus: ^9.1.2
device_info_plus: ^10.1.0
flutter_web_auth_2: ^3.1.1
http: '>=0.13.6 <2.0.0'
package_info_plus: ^5.0.1
path_provider: ^2.1.2
web_socket_channel: ^2.4.3
universal_html: ^2.2.2
package_info_plus: ^8.0.0
path_provider: ^2.1.3
web_socket_channel: ^2.4.5
universal_html: ^2.2.4
dev_dependencies:
path_provider_platform_interface: ^2.1.2
flutter_lints: ^3.0.1
flutter_lints: ^3.0.2
flutter_test:
sdk: flutter
mockito: ^5.4.4

0 comments on commit f5d1819

Please sign in to comment.