-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve IBAN recognition on device #782
base: main
Are you sure you want to change the base?
Conversation
number = number.replacingOccurrences(of: ",", with: "") | ||
number = number.replacingOccurrences(of: ".", with: "") | ||
matches = extractIBANMatches(from: String(string.prefix(2)) + number) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @igor-gini , Everything looks good to me, just a small suggestion,
We observed in android that sometimes
8 is recognized as B,
7 is recognized as Z,
I think it would be good if you can add these cases as well, If you did not saw any pattern like this in IOS then it is fine as well.
Just for your information here is the android PR link if you want to have a look :)
gini/gini-mobile-android#645
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @igor-gini, Everything looks good, I have added a small suggestion, If you think it will not add any value according to your library, please let me know I will approve the PR. Thank you :)
5bdfece
to
3d64b82
Compare
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me 👌 thank you !
PP-106