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

Added server time property to operations #92

Merged
merged 9 commits into from
May 18, 2023
Merged

Conversation

kober32
Copy link
Member

@kober32 kober32 commented Feb 13, 2023

Resolved #91

Adding a server time feature that can be retrieved from the operation list

Same feature was already implemented on iOS wultra/mtoken-sdk-ios#112

@kober32 kober32 marked this pull request as draft February 13, 2023 15:22
@kober32 kober32 marked this pull request as ready for review February 14, 2023 14:47
@kober32 kober32 requested a review from TomasKypta February 15, 2023 16:47
@kober32
Copy link
Member Author

kober32 commented Feb 15, 2023

Remarks fixed + I added one more assert to tests

Copy link
Member

@TomasKypta TomasKypta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks OK

Copy link
Member

@hvge hvge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that the algorithm for calculating the adjusted time is wrong. See my comment below.

@kober32 kober32 requested a review from hvge May 17, 2023 11:55
Copy link
Member

@hvge hvge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks OK now. I would like to note that we should also update iOS implementation, because it's slightly different now. There's for example missing test for FORCED_SERVER_TIME_CHANGE_MS

@kober32 kober32 merged commit 2106f59 into develop May 18, 2023
@kober32 kober32 deleted the 91-server-now-feature branch May 18, 2023 09:20
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

Successfully merging this pull request may close these issues.

Implement "server now" feature
3 participants