ezet / stripe-sdk

A simple and flexible Stripe library for Flutter with complete support for SCA and PSD2.
https://pub.dev/packages/stripe_sdk
Other
137 stars 137 forks source link

Cloud Functions is deprecated #96

Closed maylortaylor closed 1 year ago

maylortaylor commented 3 years ago

I'm trying to implement your plugin into my Flutter app and I'm greeted with this warning/error in my locator.dart file

'CloudFunctions' is deprecated and shouldn't be used. Constructing CloudFunctions is deprecated, use 'FirebaseFunctions.instance' or 'FirebaseFunctions.instanceFor' instead. Try replacing the use of the deprecated member with the replacement.

Open documentation

ezet commented 3 years ago

I'll update this