chore: Log warning if firebase token problem

onboarding
Christian Pauly 5 years ago
parent fac6187092
commit c2197c2ffd

@ -34,8 +34,9 @@ abstract class FirebaseController {
String token;
try {
token = await _firebaseMessaging.getToken();
} catch (_) {
} catch (e, s) {
token = null;
Logs().w('Unable to get firebase token', e, s);
}
if (token?.isEmpty ?? true) {
final storeItem = await matrix.store.getItem(SettingKeys.showNoGoogle);

Loading…
Cancel
Save