checkout / frames-android

Frames Android: making native card payments simple
https://www.checkout.com/docs/integrate/sdks/android-sdk
MIT License
47 stars 32 forks source link

PIMOB-2040: Fixed expiry date crash #212

Closed chintan-soni-cko closed 11 months ago

chintan-soni-cko commented 11 months ago

Issue

PIMOB-2040

Proposed changes

ExpiryDateVisualTransformation returned an incorrect mapping between transformed and original offsets resulting in a crash. So, added robust logic to resolve it

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

Further comments

If this is a relatively large or complex change, kick off the discussion by explaining why you choose the solution you did and what alternatives you considered, etc...