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

Depreciated: Integrating Flutter Module + Replacing Payment Method with Flutter Screen #310

Conversation

tyler-techcombine
Copy link
Collaborator

@tyler-techcombine tyler-techcombine commented Feb 11, 2025

Description

U can ignore commit: ce4457b8311b38a194acfc7cc4d81ed1b03cc0ab as it's about adding flutter xcframework to the project.

This PR introduces the integration of the Flutter-based payment method selection UI into the native iOS SDK, replacing the existing payment method screen with a Flutter UI. It sets up communication between the iOS app and Flutter using a FlutterMethodChannel, allowing for seamless interaction between native iOS code and Flutter components.

NOTE:
• FlutterEngineManager: Manages the initialization and lifecycle of the Flutter engine, handling the presentation and dismissal of the Flutter payment method screen.
• FlutterChannelHandlerImpl: Handles communication between Flutter and iOS, processing the payment method result and passing data (token and source) back to the native app.
• Payment Method Screen Replacement: The existing payment method screen is now replaced with a Flutter-based UI, providing a smooth user experience for payment selection.
• Payment Result Handling: The payment result is decoded and processed, with the appropriate response being passed back to the app’s delegate for further action.

@tyler-techcombine tyler-techcombine changed the title MIT-3119][MIT-3120] Integrating Flutter Module + Replacing Payment Method with Flutter Screen Depreciated: Integrating Flutter Module + Replacing Payment Method with Flutter Screen Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant