From 3ab5466f29fe9ece36da12d6954266f77fa8fd43 Mon Sep 17 00:00:00 2001 From: Bibash Shrestha Date: Mon, 4 Nov 2024 13:10:20 +0545 Subject: [PATCH] feat: Remove registration for developer mode #3008 --- lib/app/shared/helper_functions/helper_functions.dart | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/lib/app/shared/helper_functions/helper_functions.dart b/lib/app/shared/helper_functions/helper_functions.dart index 8911a74ce..e37091348 100644 --- a/lib/app/shared/helper_functions/helper_functions.dart +++ b/lib/app/shared/helper_functions/helper_functions.dart @@ -1428,12 +1428,6 @@ Future getFormattedStringOIDC4VPSIOPV2({ uri: Uri.parse(url), ); - final registration = Uri.parse(url).queryParameters['registration']; - - final registrationMap = registration != null - ? jsonDecode(registration) as Map - : null; - final data = ''' SCHEME : ${getSchemeFromUrl(url)}\n AUTHORIZATION REQUEST : @@ -1441,9 +1435,7 @@ ${response != null ? const JsonEncoder.withIndent(' ').convert(response) : Uri. CLIENT METADATA : ${clientMetaData != null ? const JsonEncoder.withIndent(' ').convert(clientMetaData) : 'None'}\n PRESENTATION DEFINITION : -${presentationDefinition != null ? const JsonEncoder.withIndent(' ').convert(presentationDefinition) : 'None'}\n -REGISTRATION : -${registrationMap != null ? const JsonEncoder.withIndent(' ').convert(registrationMap) : 'None'} +${presentationDefinition != null ? const JsonEncoder.withIndent(' ').convert(presentationDefinition) : 'None'} '''; return data;