-
Notifications
You must be signed in to change notification settings - Fork 91
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
feat: xflow integration #1597
base: master
Are you sure you want to change the base?
feat: xflow integration #1597
Conversation
# Conflicts: # packages/espressocash_app/pubspec.lock # packages/espressocash_app/pubspec.yaml
@Merculiar please resolve conflicts |
# Conflicts: # packages/espressocash_app/lib/features/ramp/screens/ramp_amount_screen.dart # packages/espressocash_app/lib/l10n/intl_en.arb
@ookami-kb resolved |
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.
Still in progress, submitting some comments meanwhile.
@@ -71,12 +76,11 @@ dependencies: | |||
shared_preferences: ^2.2.2 | |||
sliver_tools: ^0.2.12 | |||
smooth_page_indicator: ^1.1.0 | |||
solana: | |||
path: ../solana/ | |||
solana: ^0.31.0 |
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.
Why?
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.
Reverted
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.
"Request" text doesn't fit now, it shouldn't be the case.
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.
updated
|
||
await fetchUserData(); | ||
|
||
// TODO(vsumin): Currently do not work on test environment |
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.
It should be working now, just doesn't send the code.
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.
Removed
}, | ||
); | ||
|
||
await _kycUserClient.init(walletAddress: _ecWallet.publicKey.toString()); |
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.
This will initialize in background, and if it fails, client will stay in the broken state.
return true; | ||
} on Exception { | ||
if (!mounted) return false; | ||
showCpErrorSnackbar( |
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.
It's not necessarily wrong code, what if it's network exception?
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.
Updated error handling
Changes
Xflow integration:
Checklist