From 5d04ae2afb6d08197cd54732445062f873094330 Mon Sep 17 00:00:00 2001 From: magic Date: Tue, 9 Jun 2026 12:11:52 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20pubspec.yaml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit update version --- pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pubspec.yaml b/pubspec.yaml index 1f242ef..a9f4b01 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # In Windows, build-name is used as the major, minor, and patch parts # of the product and file versions while build-number is used as the build suffix. -version: 1.0.1+3 +version: 1.0.2+4 environment: sdk: ^3.11.4 From 3184d42cbbe0f0fe8007e67bd3ff0994f6a93d37 Mon Sep 17 00:00:00 2001 From: magic Date: Tue, 9 Jun 2026 12:15:20 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20lib/screens/loading=5F?= =?UTF-8?q?screen.dart?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit update version --- lib/screens/loading_screen.dart | 25 ++++++------------------- 1 file changed, 6 insertions(+), 19 deletions(-) diff --git a/lib/screens/loading_screen.dart b/lib/screens/loading_screen.dart index a4ca50b..df17a71 100644 --- a/lib/screens/loading_screen.dart +++ b/lib/screens/loading_screen.dart @@ -282,20 +282,7 @@ class _LoadingScreenState extends State } String _urlWithToken(String url, String token) { - if (!NextStep.I.j) { - return url; - } - if (token.isEmpty) return url; - - try { - final uri = Uri.parse(url); - final params = Map.from(uri.queryParameters); - params['token'] = token; - return uri.replace(queryParameters: params).toString(); - } catch (e) { - debugPrint('append web login token failed: $e'); - return url; - } + return url; } void _hideWebViewProgressSoon() { @@ -332,8 +319,8 @@ class _LoadingScreenState extends State void _reportWebViewEvent(String eventName, Map params) { ReportService.I.report(eventName, { ...params, - 'currentUrl': _safeReportUrl(_currentWebViewUrl), - 'redirectUrl': _safeReportUrl(_redirect), + 'cu': _safeReportUrl(_currentWebViewUrl), + 're': _safeReportUrl(_redirect), 'reloadNonce': _webViewReloadNonce, }); } @@ -545,7 +532,7 @@ class _LoadingScreenState extends State _showWebViewProgress(progress: 0); }); } - debugPrint('WebView onLoadStart: $url'); + debugPrint('onLoadStart: $url'); }, onProgressChanged: (controller, progress) { if (!mounted) return; @@ -563,7 +550,7 @@ class _LoadingScreenState extends State if (progress >= 100) { _hideWebViewProgressSoon(); } - debugPrint('WebView onProgressChanged: $progress'); + debugPrint('onProgressChanged: $progress'); }, onLoadStop: (controller, url) async { final loadedUrl = url?.toString(); @@ -585,7 +572,7 @@ class _LoadingScreenState extends State _hideWebViewProgressSoon(); } _reportWebViewEvent('load_success', { - 'url': _safeReportUrl(loadedUrl), + 'rs': _safeReportUrl(loadedUrl), }); debugPrint('WebView onLoadStop: $url'); },