SoFriendly / 2fhey

Creative Commons Zero v1.0 Universal
115 stars 23 forks source link

AMEX India - Instead of the one-time password, the amount is copied. #31

Closed hdecoded closed 5 months ago

hdecoded commented 1 year ago

Message from AMEX India:

Your Amex SafeKey One-Time Password for INR 1234.00 is 672643. Valid for 10 mins for Card ending xxxxx. Never share this password.

Instead of copying the actual one-time password (672643) in the message, the application copies the amount located immediately after "INR" i.e 1234.

Please let me know if you need any other details.

itsthisjustin commented 5 months ago

I cannot for the life of me get this one fixed. Apologies it's taken so long for me to get back to this. No matter what I put in there it always grabs that amount. I'm thinking maybe the app needs to prioritize customPatterns over known patterns for this to work?

itsthisjustin commented 5 months ago

This is fixed in the latest update! It does require that you download the updated version of the app though.

hdecoded commented 5 months ago

Thanks @itsthisjustin for the fix. Much Appreciated.