-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[Saved cards] Display the obfuscated credit card numbers in Saved cards #18270
Comments
Currently, we show the encrypted card number here fenix/app/src/main/java/org/mozilla/fenix/settings/creditcards/CreditCardEditorState.kt Line 41 in 4e16c46
We should change this to display the In doing so, we should also add the necessary 4 dots ellipsis in front of the last 4 card number. See Chromium's unicode that is used for 4 dots ellipsis. https://github.com/chromium/chromium/blob/d7da0240cae77824d1eda25745c4022757499131/chrome/android/javatests/src/org/chromium/chrome/browser/autofill/PersonalDataManagerTest.java#L153-L159. We can potentially just add the unicode to the We should examine the 4 dots ellipsis used in Chromium and see what we do in Edit Logins to see if we should align. Otherwise, I am interested to know if the \u202A is the Left-To-Right Embedding (LTE) mark, and // \u202C is the Pop Directional Formatting (PDF) mark are helpful for RTL and different locale support. We can't show "Visa", "Amex", the credit card issuers yet until mozilla-mobile/android-components#9813 is done. So, that will be out of scope. We just want to display the obfuscated card number in this issue and clean up our |
Verified as fixed on the latest Nightly 5/26 with OnePlus Nord (Android 10). And the credit card number is still displayed #19482 Encrypted... but that bug was close in favor of this one. So I was thinking should we re-open because when tapping on a credit card the encrypted number is still displayed, or should I open a new bug? |
We got mozilla-mobile/android-components#10333 for displaying the decrypted card number |
Thank you @gabrielluong thank I think we are all good on this side, waiting on that to be fixed so I will confirm it! |
See #18270 (comment) for the latest.
When mozilla-mobile/android-components#9804 is available, we should use
obfuscatedCardNumber
provided when display the obfuscated credit card numbers in the "Saved cards" screen.This depends on #18268 and mozilla-mobile/android-components#9804
┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: