To start with -
I am aware that there is a similar question out there which is answered. However the answer is not helping me.
My Problem is same -
Using UPI url as below
String UPI = "upi://pay?pa=xsas@hdfcbank&pn=ABC+DEF&mc=qy67vt&tr=12121&tn=your+order+with+us&am=1.5&url=shopify.com";
Intent intent = new Intent();
intent.setAction(Intent.ACTION_SEND);
intent.setData(Uri.parse(UPI));
Intent chooser = Intent.createChooser(intent, "Pay with...");
startActivityForResult(chooser, 1, null);
The moment I use setData, I stop getting list of Apps with which I can share this (the list is empty). If I remove setData, the regular list of Apps (sms, email etc) start popping and bank app (which accepts UPI, say ICICI/HDFC) is not one of them.
What could be going wrong here?,