-
Notifications
You must be signed in to change notification settings - Fork 1
LocalContainer not adhering to specifications #48
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
Conversation
Use correct encoding and creation of clientDataJson
|
Executing the test locally (revolutionary concept): I.e. someone from the maintainers (@tladesignz, or @jessevanmuijden maybe?) need to see how to fix the frontend requiring TrustedHTML in combination with adding the debug icon to the dom. Good luck. |
wrapper/src/main/java/io/yubicolabs/wwwwallet/credentials/LocalContainer.kt
Show resolved
Hide resolved
wrapper/src/main/java/io/yubicolabs/wwwwallet/credentials/LocalContainer.kt
Show resolved
Hide resolved
mariobodemann
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure if I get the intent of the proposed changes. See inline for detailed feedback.
wrapper/src/main/java/io/yubicolabs/wwwwallet/credentials/LocalContainer.kt
Show resolved
Hide resolved
wrapper/src/main/java/io/yubicolabs/wwwwallet/credentials/LocalContainer.kt
Show resolved
Hide resolved
|
@mariobodemann the proposed changes were just a suggestion to replace nested if statements with early returns for readability. |
|
Ah, I get the intent. But that wouldn't work. In your suggestions you'll call the callbacks but you aren't exiting the function. You'd need an explicit |
While testing the wrapper we found that the initial implementation needed some more love.
This PR fixes cruicial local container creation, and adds love.