mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2025-02-20 08:00:39 +01:00
chore: Log warning if firebase token problem
This commit is contained in:
parent
8d6642c07d
commit
90867e6e54
@ -34,8 +34,9 @@ abstract class FirebaseController {
|
|||||||
String token;
|
String token;
|
||||||
try {
|
try {
|
||||||
token = await _firebaseMessaging.getToken();
|
token = await _firebaseMessaging.getToken();
|
||||||
} catch (_) {
|
} catch (e, s) {
|
||||||
token = null;
|
token = null;
|
||||||
|
Logs().w('Unable to get firebase token', e, s);
|
||||||
}
|
}
|
||||||
if (token?.isEmpty ?? true) {
|
if (token?.isEmpty ?? true) {
|
||||||
final storeItem = await matrix.store.getItem(SettingKeys.showNoGoogle);
|
final storeItem = await matrix.store.getItem(SettingKeys.showNoGoogle);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user