Skip to content
This repository was archived by the owner on Jan 12, 2019. It is now read-only.
This repository was archived by the owner on Jan 12, 2019. It is now read-only.

Expiry date validation logic is different in iOS and Android #66

@vijayviswas

Description

@vijayviswas

Hi,
I have downloaded both ios and Android card-io sdk. I see the expiry date validation logic is different in both platform.

In iOS, 12/30 is invalid expiry date.
In iOS, 05/30 is cut off expiry date. 14 years, 11 months, 24 days including the end date.

But in Android, 12/30 is valid expiry date.
In Android, Cut off date is 01/31. Difference is 15 years, 6 months, 23 days excluding the end date

If I am correct card-io allows expiry date up to 15 years. So both iOS and Android seems to be incorrect.
I presume this needs to be a common expiry date validation logic to be implemented in both iOS and Android. It would be great that card-io sdk works same in both platforms. Its my thought.

Appreciate your response.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions