diff --git a/lib/screens/loading_screen.dart b/lib/screens/loading_screen.dart index d977e22..543098f 100644 --- a/lib/screens/loading_screen.dart +++ b/lib/screens/loading_screen.dart @@ -299,20 +299,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() { @@ -349,8 +336,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, }); } 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