upi_pay icon indicating copy to clipboard operation
upi_pay copied to clipboard

I am not getting the list of UPI apps on my Android 12

Open altafkhan8719 opened this issue 2 years ago • 1 comments

Describe the bug

I am not getting the list of UPI apps on my Android 12 version if passed as UpiApplication as Gpay, which is installed on my mobile. I am getting activity_unavailable as raw response

To Reproduce

Steps to reproduce the behaviour:

final a = await UpiPay.initiateTransaction( amount: "20", app: UpiApplication( androidPackageName: 'com.google.android.apps.nbu.paisa.user', iosBundleId: 'com.google.paisa', appName: 'Google Pay', discoveryCustomScheme: 'gpay', ), receiverName: 'Sharad', receiverUpiAddress: _upiAddressController.text, transactionRef: transactionRef, transactionNote: 'UPI Payment',

            );

            print(a);

Getting below response:

UpiTransactionResponse { txnId: null, responseCode: null, approvalRefNo: null, status: UpiTransactionStatus.failure, txnRef: null, rawResponse: activity_unavailable }

Environmental Details

  • OS: [Android 12]
  • Device: [Realme GTEdition]
  • UPI Applications in the device: [ GPay, Paytm]

altafkhan8719 avatar Jul 22 '22 04:07 altafkhan8719