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

🥳[Feature] Add Two Factor Authentication for Litecoin Card #82

Merged
merged 12 commits into from
Aug 25, 2021

Conversation

kcw-grunt
Copy link
Contributor

@kcw-grunt kcw-grunt commented Aug 15, 2021

Overview

The Litecoin Card API needs a higher degree of authentication than just login for Transfers. So, the Enable2FA Api needed to be added.

Approach

There are a few structural changes tp make this happen

  • The LitecoinCard API needed to be updated
  • The Litewallet code needs to leverage that update (v0.8.0)
  • A new Login UI needed to be added for the user to choose 2FA usage
  • A new Enable UI Modal for the user to add the 2FA Code
  • Add tests

Screenshots/GIFs

Before After
Login 2FA-Login

- There is a bug in Xcode where running code coverage breaks the SwiftUI canvas
- Pre-polish the languiage and the translations
- Tech Debt: Code clean up
- Deleted and cleaned up files.
- UIKit updated relative to the modal
- New 2FA View
- New 2FA Model
Localizations:

* 2FA Not Enabled
* 2FA Enabled
* Enter the code that was recently sent to your Litecoin Card account email.
* Enter Code
* Confirm
- Stubbed in the View Extenstion tests
- Enable2FAViewModel tests
@kcw-grunt kcw-grunt requested a review from JCHeist August 16, 2021 00:09
@kcw-grunt kcw-grunt added 🥳 feature New feature or enhancement request 🏰 high-priority Of all issues, these are the most urgent labels Aug 16, 2021
@kcw-grunt kcw-grunt marked this pull request as ready for review August 16, 2021 00:10
@kcw-grunt kcw-grunt changed the title 🥳[Feature] Add Two Factor Authentication 🥳[Feature] Add Two Factor Authentication for Litecoin Card Aug 16, 2021
Copy link
Contributor

@JCHeist JCHeist left a comment

Choose a reason for hiding this comment

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

Couple of testing files that need looked at to get some dead code reviewed

@kcw-grunt
Copy link
Contributor Author

@JasperHeist thanks...let me made changes and push them up soon (in 24 - 36 hrs)

@kcw-grunt kcw-grunt requested a review from JCHeist August 24, 2021 09:13
- Turkish is now found
* Removed the launch options

- This  method had  `launchOptions`  that was never used.

* Removed all unused code.
@kcw-grunt
Copy link
Contributor Author

kcw-grunt commented Aug 24, 2021

@JasperHeist rebased the other develop merged PRs in:

  • f7ae472ba78372d352f91eb49acf6fa46297869f
  • ca14eff0929b395620414b67607f4d93a8609ff0

Copy link
Contributor

@JCHeist JCHeist left a comment

Choose a reason for hiding this comment

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

Sweet looks good here

@kcw-grunt kcw-grunt merged commit f72dd86 into develop Aug 25, 2021
@kcw-grunt kcw-grunt deleted the feature/add-enable2fa branch September 2, 2021 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🥳 feature New feature or enhancement request 🏰 high-priority Of all issues, these are the most urgent
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants