vkammerer / ussd_service

A Flutter plugin to make USSD requests
https://pub.dev/packages/ussd_service
BSD 2-Clause "Simplified" License
21 stars 14 forks source link

Support for SDKs < 26 #2

Closed DonnC closed 4 years ago

DonnC commented 4 years ago

Great package but after creating a default flutter app and adding this package to pubsec it shows that minSdk must bt >= 26 Is there a way to support for lower SDKs or android version.

LSambo02 commented 4 years ago

As the support library was only added for Sdk 26, I guess it can't be done TelephonyManager.UssdResponseCallback. What can be done is to edit the gradle.build [app] minSdkVersion 26

DonnC commented 4 years ago

I tried changing sdk version in the gradle file and the app crushed when i tried requesting Thanks for the link i have seen where its supported as you have mentioned 👏

DonnC commented 4 years ago

Closing!

LSambo02 commented 4 years ago

Try using 0.0.4+1 previous version of the plugin