Skip to content
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

Update VGS iOS documentation #76

Closed
anas-iqbal opened this issue Nov 22, 2021 · 1 comment
Closed

Update VGS iOS documentation #76

anas-iqbal opened this issue Nov 22, 2021 · 1 comment
Assignees

Comments

@anas-iqbal
Copy link

anas-iqbal commented Nov 22, 2021

Looks like the iOS documentation is not updated.

I did everything mentioned in the document but still some how it wasn't showing the card number nor the expiry date later I figured out that content path mentioned in documentation was the reason it was't working I had to change the path and it worked.

As per the documentation

cardNumberLabel.contentPath = "cardData.cardNumber" // didn't work not showing any data
expDateLabel.contentPath = "cardData.expDate" // didn't work not showing any data

Instead I had to change path to this.

cardNumberLabel.contentPath = "id" // working
expDateLabel.contentPath = ""expiry_mm_yyyy"" //  working

Thanks

@EugeneIOs
Copy link
Contributor

Hello @anas-iqbal
Thank you for reaching us out and sorry for the confusion.

contentPath is not supposed to be hardcoded property just for card data, it depends on your setup and use case, contentPath works as an identifier for reveal operations on inbound routes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants