Skip to content

Conversation

@ashud99999
Copy link

No description provided.

clientmanagerLibVersionName = "\"1.0.0\""

serverBaseURL = "\"https://api-internal.qa-plan.mosip.net\""
serverBaseURL = "\"https://api-internal.qa-base.mosip.net\""
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change the base URL from qa-base to qa-core.

ocrData[ocrKey]!,
globalProvider.fieldInputValue,
);
print("✅ SET VALUE: $fieldId = $value");
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove print

showDialog(
context: context,
builder: (context) => AlertDialog(
title: const Text("Scanned Data"),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use localization for the "Scanned Data".


autofillFormFromOCR(context, result);
},
child: const Text("OK"),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use localization

);
} else {
ScaffoldMessenger.of(context).showSnackBar(
const SnackBar(content: Text("No text detected or format unrecognized")),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use localization

final value = globalProvider.fieldInputValue[widget.e.id];
if (value is String) return value;
if (value is Map<String, dynamic>) {
return value[lang] ?? '';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you change the logic here?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't push this file

return (e.controlType!=null)? Text("${e.controlType}"): const SizedBox.shrink();
}
}
void autofillFormFromOCR(BuildContext context, Map<String, String> ocrData) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did you check if it works based on the UI spec?

controllerMap.putIfAbsent(lang,
() => TextEditingController(text: _getDataFromMap(lang)));
});
final valueFromMap = _getDataFromMap(lang);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we select multiple languages, will it work?

- .git/refs/heads/
- assets/l10n/


Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove blank space

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants