🐛 Fix windows rendering lack
This commit is contained in:
parent
16047a7d57
commit
c59f77c877
@ -57,6 +57,8 @@ void main() async {
|
||||
|
||||
Future<void> _initializeFirebase() async {
|
||||
await Firebase.initializeApp(options: DefaultFirebaseOptions.currentPlatform);
|
||||
if (PlatformInfo.isIOS || PlatformInfo.isAndroid || PlatformInfo.isMacOS) {
|
||||
// Initialize firebase crashlytics for the platform that supported
|
||||
FlutterError.onError = (errorDetails) {
|
||||
FirebaseCrashlytics.instance.recordFlutterFatalError(errorDetails);
|
||||
};
|
||||
@ -65,6 +67,7 @@ Future<void> _initializeFirebase() async {
|
||||
return true;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Future<void> _initializeBackgroundNotificationService() async {
|
||||
autoConfigureBackgroundNotificationService();
|
||||
|
Loading…
Reference in New Issue
Block a user