ambrosethebuild/paystack_manager

Flutter pub get issue with paystack_manager

Opened this issue · 3 comments

Hello Ambrose, I am facing an issue integrating my flutter app with paystack manager because it also depends on firebase. Any ideas how i can fix this? I will attach a screenshot of the error. Looking forward to any help you can give.

Screenshot 2021-04-18 at 9 10 12 AM

P.S. The name of my project is Pyde

@stephentorku yet to update the package to the support null-safety. You can do a dependency_overrides to force flutter to use the version of your choice.
dependency_overrides: intl: ^0.17.0

I'm still getting an error after doing that. This is what my pubspec.yaml looks like

Screenshot 2021-04-18 at 10 50 32 AM

After using dependency_overrides to force flutter to use the version:
intl: ^0.17.0

I got this...
flutter pub add paystack_manager
Because http >=0.13.0 depends on http_parser ^4.0.0 and dio >=3.0.0-dev.1 <4.0.0-beta1 depends on http_parser >=0.0.1 <4.0.0, http >=0.13.0 is incompatible with dio >=3.0.0-dev.1 <4.0.0-beta1.
And because every version of paystack_manager depends on dio ^3.0.9, http >=0.13.0 is incompatible with paystack_manager.

What can I do?