TF-1360 Fix can not add data to stream controller when re-login
This commit is contained in:
@@ -26,4 +26,6 @@ class AppConfig {
|
||||
}
|
||||
}
|
||||
static String appFCMConfigurationPath = "configurations/env.fcm";
|
||||
|
||||
static String get fcmVapidPublicKeyWeb => dotenv.get('FIREBASE_WEB_VAPID_PUBLIC_KEY', fallback: '');
|
||||
}
|
||||
@@ -1,3 +1,4 @@
|
||||
import 'package:core/core.dart';
|
||||
import 'package:flutter_dotenv/flutter_dotenv.dart';
|
||||
import 'package:tmail_ui_user/main/utils/app_config.dart';
|
||||
import 'package:url_launcher/url_launcher.dart';
|
||||
@@ -23,4 +24,6 @@ class AppUtils {
|
||||
webOnlyWindowName: isNewTab ? '_blank' : '_self',
|
||||
);
|
||||
}
|
||||
|
||||
static String? get fcmVapidPublicKey => BuildUtils.isWeb ? AppConfig.fcmVapidPublicKeyWeb : null;
|
||||
}
|
||||
Reference in New Issue
Block a user