autoussdflutter 2.0.0 copy "autoussdflutter: ^2.0.0" to clipboard
autoussdflutter: ^2.0.0 copied to clipboard

outdated

Flutter plugin for AutoUssd which allows you to build Flutter applications on top of USSD services

AutoUssdFlutter #

AutoUssd is a powerful USSD automation SDK for Android which allows you to build Android applications on top of USSD services. Find out more on our website.

AutoUssdFlutter is the Flutter plugin for AutoUssd.

Requirements #

  • Flutter 2.5.3 or higher
  • Your app's android component must must target a minSdkVersion of 23 or higher

Installation #

flutter pub add autoussdflutter

Setup #

AutoUssdFlutter uses the new AndroidX Activity Result APIs which means your MainActivity must inherit from a ComponentActivity or a sub-class of it. Follow the steps below to modify your MainActivity accordingly:

  1. Open your MainActivity.kt in the Android module of your Flutter app. If your package name is com.example.product, your MainActivity.kt will be located at /android/app/src/kotlin/com/example/product/MainActivity.kt

  2. Your file should look like the sample below:

    package com.example.product
       
    import io.flutter.embedding.android.FlutterActivity
       
    class MainActivity: FlutterActivity() {
    }
    
  3. Change your MainActivity.kt to look like this

    package com.example.product
       
    import io.flutter.embedding.android.FlutterFragmentActivity
       
    class MainActivity: FlutterFragmentActivity() {
    }
    

Awesome. Now you are ready to start using the SDK.

Usage #

Click here to visit our beginner-friendly guide to get started with AutoUssd.

5
likes
0
pub points
46%
popularity

Publisher

verified publisherautoussd.com

Flutter plugin for AutoUssd which allows you to build Flutter applications on top of USSD services

Homepage

License

unknown (license)

Dependencies

flutter

More

Packages that depend on autoussdflutter