From f39f40da221bcb48db2c42c873c1a431661aad86 Mon Sep 17 00:00:00 2001 From: jld3103 Date: Sun, 27 Aug 2023 22:50:54 +0200 Subject: [PATCH] fix(neon): Add missing platform setup Signed-off-by: jld3103 --- packages/neon/neon/lib/neon.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/neon/neon/lib/neon.dart b/packages/neon/neon/lib/neon.dart index 5973bfea..d8f8001a 100644 --- a/packages/neon/neon/lib/neon.dart +++ b/packages/neon/neon/lib/neon.dart @@ -9,6 +9,7 @@ import 'package:neon/src/blocs/next_push.dart'; import 'package:neon/src/blocs/push_notifications.dart'; import 'package:neon/src/models/account.dart'; import 'package:neon/src/models/app_implementation.dart'; +import 'package:neon/src/platform/platform.dart'; import 'package:neon/src/theme/neon.dart'; import 'package:neon/src/utils/global_options.dart'; import 'package:neon/src/utils/request_manager.dart'; @@ -30,6 +31,7 @@ Future runNeon({ final sharedPreferences = await SharedPreferences.getInstance(); + await NeonPlatform.setup(); await RequestManager.instance.initCache(); final allAppImplementations = getAppImplementations(sharedPreferences);