fix: Google services patch

This commit is contained in:
Krille Fear 2021-10-26 19:00:00 +02:00
parent 42297aa6d0
commit e1a8d8974b

View File

@ -65,19 +65,20 @@ index 4ce5c41d..be58d662 100644
} }
diff --git a/lib/utils/background_push.dart b/lib/utils/background_push.dart diff --git a/lib/utils/background_push.dart b/lib/utils/background_push.dart
index 0b771ef8..56af0cee 100644 index baf2b444..306da934 100644
--- a/lib/utils/background_push.dart --- a/lib/utils/background_push.dart
+++ b/lib/utils/background_push.dart +++ b/lib/utils/background_push.dart
@@ -24,7 +24,7 @@ import 'dart:ui'; @@ -39,8 +39,7 @@ import 'famedlysdk_store.dart';
import 'matrix_sdk_extensions.dart/matrix_locals.dart';
import 'platform_infos.dart';
import 'package:flutter_cache_manager/flutter_cache_manager.dart';
import 'package:matrix/matrix.dart';
-//import 'package:fcm_shared_isolate/fcm_shared_isolate.dart'; -//import 'package:fcm_shared_isolate/fcm_shared_isolate.dart';
-
+import 'package:fcm_shared_isolate/fcm_shared_isolate.dart'; +import 'package:fcm_shared_isolate/fcm_shared_isolate.dart';
import 'package:flutter/material.dart'; class NoTokenException implements Exception {
import 'package:http/http.dart' as http; String get cause => 'Cannot get firebase token';
@@ -116,7 +116,7 @@ class BackgroundPush { @@ -117,7 +116,7 @@ class BackgroundPush {
setupPush(); setupPush();
} }
@ -87,7 +88,7 @@ index 0b771ef8..56af0cee 100644
StreamSubscription<LoginState> onLogin; StreamSubscription<LoginState> onLogin;
StreamSubscription<SyncUpdate> onRoomSync; StreamSubscription<SyncUpdate> onRoomSync;
diff --git a/pubspec.yaml b/pubspec.yaml diff --git a/pubspec.yaml b/pubspec.yaml
index 9e7f148c..ea2d90f9 100644 index e1670a32..7e3238b0 100644
--- a/pubspec.yaml --- a/pubspec.yaml
+++ b/pubspec.yaml +++ b/pubspec.yaml
@@ -16,8 +16,8 @@ dependencies: @@ -16,8 +16,8 @@ dependencies: