Hi FlutterFlow community,
I'm implementing Stripe payments in my FlutterFlow app using Supabase Edge Functions for the backend. The integration works great on web, but I'm running into Android-specific requirements that need MainActivity modifications.
Current Setup:
FlutterFlow app with Supabase auth & database
Stripe payments via custom actions using
flutter_stripepackageSupabase Edge Functions handling payment intents
Everything works perfectly on web
The Problem:
On Android, Stripe requires:
MainActivityto extendFlutterFragmentActivityinstead ofFlutterActivityAndroid theme to use
Theme.MaterialComponentsinstead of default theme
The Question:
Is there any way to make these Android-specific modifications while still being able to:
Deploy/publish through FlutterFlow's built-in deployment
Use FlutterFlow's automatic Play Store/App Store upload features
Maintain the ability to make UI changes in FlutterFlow editor
What I've tried:
Exporting code and making manual changes works, but then I lose FlutterFlow deployment
Looking for alternatives that don't require MainActivity changes
Considering hybrid approaches (web payments + mobile app store versions)
Ideal solution would be:
Either a way to configure these Android requirements within FlutterFlow, or a payment integration approach that doesn't require MainActivity changes but still supports mobile PaymentSheet (not just web checkout).
Has anyone successfully implemented Stripe mobile payments in FlutterFlow while keeping deployment capabilities? Any suggestions or alternative approaches would be greatly appreciated!
Thanks in advance!