wilburx9 / flutter_paystack

:credit_card: A robust Flutter plugin for making payments via Paystack Payment Gateway. Completely supports Android and iOS
https://pub.dartlang.org/packages/flutter_paystack
Apache License 2.0
206 stars 358 forks source link

Paystack library #134

Closed iliasHB closed 1 year ago

iliasHB commented 1 year ago

hello sir,

I have a serious issues with flutter paystack checkout page. The paystack checkout page is working fine on IOS mobile but is not running on android. Please, I need your support because i am really running out of time. I have other things i want to explain, i will like to have a voice conversation with the developer, please can you share your contact and you can reach me on 08074730367.

flutter_paystack 1.0.5+1 gave me this error below when I try to build my application on android mobile

e: C:\src\flutter.pub-cache\hosted\pub.flutter-io.cn\flutter_paystack-1.0.5+1\android\src\main\kotlin\co\paystack\flutterpaystack\FlutterPaystackPlugin.kt: (48, 62): Type mismatch: inferred type is Activity? but Activity was expected e: C:\src\flutter.pub-cache\hosted\pub.flutter-io.cn\flutter_paystack-1.0.5+1\android\src\main\kotlin\co\paystack\flutterpaystack\MethodCallHandlerImpl.kt: (19, 37): Type mismatch: inferred type is BinaryMessenger? but BinaryMessenger was expected

FAILURE: Build failed with an exception.

BUILD FAILED in 1m 19s Exception: Gradle task assembleDebug failed with exit code 1


flutter_paystack 1.0.6 gave me this error below when I try to installed the dependency, the dependency refuse to install with this errror below

Because every version of flutter_test from sdk depends on meta 1.7.0 and flutter_paystack >=1.0.6 depends on meta ^1.8.0, flutter_test from sdk is incompatible with flutter_paystack >=1.0.6. So, because paystackflutter depends on both flutter_paystack ^1.0.6 and flutter_test from sdk, version solving failed. pub get failed (1; So, because paystackflutter depends on both flutter_paystack ^1.0.6 and flutter_test from sdk, version solving failed.)

wilburx9 commented 1 year ago

The building issue was fixed in 1.0.6.

Update to 1.0.6 and add this to the project's pubspec.yaml:

dependency_overrides:
  meta: 1.7.0
wilburx9 commented 1 year ago

Closing this since there's no response from OP.