Closed np-eazy closed 10 months ago
Did This Issue Solved?
Sorry, forgot to mention that I've resolved this issue. Upgrading pay 1.1.2 was blocked by flutter-svg needing to be 2.0+, which came down to some linking issues that were fixed with changing the flags in the project.pbx file.
That also mostly explains my original user-level error of the Stripe credit card options pop-up not rendering, which prompted the flutter-stripe upgrade/migration; I think the old flutter-svg dependency couldn't support the new payment sheet components, which were effectively invisible but still tappable.
which I think is the root cause for the following error on my iOS app when attempting an Xcode build: "../../../.pub-cache/hosted/pub.dev/pay-1.1.0/lib/src/widgets/apple_pay_button.dart:35:38: Error: Member not found: 'minimumButonWidth'."
This typo has only started causing blocking errors when when updating flutter-stripe from 3.0 to 9.0.0^ (my app has not been maintained in months), and I think the build started actually catching it.
What I've tried so far:
Future initializeGooglePayClient() async {
String configsString = environment.googlePayPaymentProfile;
googlePayClient = Pay({
PayProvider.google_pay: PaymentConfiguration.fromJsonString(configsString)
});
}