upi_intent_mandate 0.0.4 copy "upi_intent_mandate: ^0.0.4" to clipboard
upi_intent_mandate: ^0.0.4 copied to clipboard

Flutter plugin for get the installed upi apps on device and launch the application.

Get UPI #

Flutter plugin for Getting installed upi apps in the device,

  • Getting Started
  • Installation
  • Requirements
  • Usage

Getting Started: #

This flutter plugin is a wrapper around native Android and iOS SDKs.

Installation: #

Add this to dependencies in your pubspec.yaml file.

 upi_intent_mandate: ^0.0.2

Requirements #

  • Add the following in the manifest
  • If you're using this package for Upi mandate add the host as mandate else pay

Usage: #

Import package,

import ‘package: upi_intent_mandate/upi_intent_mandate.dart’
  • To get the all installed upi apps :

      List<UpiObject> upiAppsList = [];
    
      @override
      void initState() {
          getUpi();
          super.initState();
      }
    
      void getUpi() async {
          var value = await GetUPI.apps();
          upiAppsList = value.data;
          setState(() {});
      }
    
  • To get the all installed upi apps in native intent :

    GetUPI.openNativeIntent(url: 'pass the upi string');

  • To open the upi app from the upiAppsList:

    GetUPI.launch( package: upiApp.packageName, url: 'pass the upi string', );

2
likes
130
points
4
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter plugin for get the installed upi apps on device and launch the application.

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on upi_intent_mandate

Packages that implement upi_intent_mandate