kkiapay / kkiapay-flutter-sdk

KkiaPay flutter sdk, allows businesses to safely receive payments by mobile money, credit card and bank account.
https://kkiapay.me
MIT License
16 stars 18 forks source link

Kkiapay widget not loading on release builds #26

Closed esperaking81 closed 1 year ago

esperaking81 commented 1 year ago

Describe the bug When you run your flutter app in debug mode, the widget works as expected. But once I run a release build, the widget is stuck on 'Loading' forever.

To Reproduce Steps to reproduce the behavior:

  1. Create a new flutter project 'flutter create test --empty'
  2. Run command 'flutter pub add kkiapay_flutter_sdk'
  3. Add a button and try to launch a sandbox payment
  4. Run command 'flutter build apk'
  5. Run command 'flutter install'
  6. Observe widget stuck a 'Loading'

Expected behavior The widget should load normally as it does on debug releases.

Desktop (please complete the following information):

Smartphone (please complete the following information):