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

feat: xflow integration #1597

Merged
merged 218 commits into from
Nov 26, 2024
Merged

feat: xflow integration #1597

merged 218 commits into from
Nov 26, 2024

Conversation

Merculiar
Copy link
Contributor

@Merculiar Merculiar commented Oct 24, 2024

Changes

Xflow integration:

  • Email verification
  • Phone verification
  • KYC
  • Orders

Checklist

  • PR is ready for review (if not, it should be a draft).
  • PR title follows Conventional Commits guidelines.
  • Screenshots/video added.
  • Tests added.
  • Self-review done.

}

Future<void> _selectDob() async {
final DateTime? picked = await showDatePicker(
Copy link
Collaborator

Choose a reason for hiding this comment

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

IIRC, we discussed that. It shouldn't be calendar view, just an input field with proper formatting. Calendar is not convenient for selecting known date, such as date of birth.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

updated to use textfield

Comment on lines 132 to 134
// Hardcode values for now
_country = Country.findByCode('NG');
_idController.text = '0000000000000000004';
Copy link
Collaborator

Choose a reason for hiding this comment

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

It shouldn't be hardcoded in the app.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

updated

@ookami-kb
Copy link
Collaborator

@Merculiar please resolve conflicts

Merculiar and others added 7 commits November 23, 2024 00:27
# Conflicts:
#	packages/espressocash_app/lib/features/activities/widgets/activity_tile.dart
#	packages/espressocash_app/lib/l10n/intl_en.arb
#	packages/espressocash_app/lib/ui/button.dart
#	packages/espressocash_app/lib/ui/colors.dart
#	packages/espressocash_app/test/golden/goldens/wallet_flow_screen.png

if (isBrijEnabled && _brijCountries.contains(countryCode)) {
partners.add(RampPartner.brij);
} else if (_scalexCountries.contains(countryCode)) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

It shouldn't be else if, for the testing period, it could be both options.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

updated

import '../../ramp/partners/kyc/widgets/launch.dart';
import '../../ramp_partner/models/ramp_type.dart';

class EcKycTile extends StatelessWidget {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why Ec prefix? Why not just KycTile?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

updated

@ookami-kb
Copy link
Collaborator

@Merculiar please resolve conflicts, and I think, we're good to go 🎉

# Conflicts:
#	packages/espressocash_app/assets/icons/star.svg
#	packages/espressocash_app/lib/features/profile/screens/profile_screen.dart
#	packages/espressocash_app/lib/l10n/intl_en.arb
@Merculiar
Copy link
Contributor Author

@ookami-kb updated

@ookami-kb ookami-kb merged commit 9513970 into master Nov 26, 2024
8 checks passed
@ookami-kb ookami-kb deleted the kyc-sharing branch November 26, 2024 21:25
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.

3 participants