From b504afc6126311cb62e95f77e3d9ceeccf859b5c Mon Sep 17 00:00:00 2001 From: Hiroshi Horie <548776+hiroshihorie@users.noreply.github.com> Date: Thu, 10 Feb 2022 21:27:17 +0700 Subject: [PATCH] fix web platform connect issue --- lib/src/utils.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/utils.dart b/lib/src/utils.dart index ec02ac2..8bc4264 100644 --- a/lib/src/utils.dart +++ b/lib/src/utils.dart @@ -65,7 +65,7 @@ class Utils { static final _deviceInfoPlugin = DeviceInfoPlugin(); static Future _clientInfo() async { - if (lkPlatformIsTest()) { + if (!kIsWeb && lkPlatformIsTest()) { return lk_models.ClientInfo( os: 'test', );