I was testing out the UPI payment feature on my app last week on a device (Mi Redmi 5 Plus) and it worked as expected: when I fire initializePayment, the screen displays the list of apps that can handle the UPI urls.
However, the same doesn't work on another Mi device. When initializePayment is called, the request fails immediately with status=failure and message=no action taken without launching an app picker to handle the url.
I checked the url in the java code and the UPI url being generated is the right one. (The device on which this fails also has UPI apps that can handle this sort of a url). Any ideas why this might happen?
I was testing out the UPI payment feature on my app last week on a device (Mi Redmi 5 Plus) and it worked as expected: when I fire initializePayment, the screen displays the list of apps that can handle the UPI urls.
However, the same doesn't work on another Mi device. When initializePayment is called, the request fails immediately with
status=failure
andmessage=no action taken
without launching an app picker to handle the url.I checked the url in the java code and the UPI url being generated is the right one. (The device on which this fails also has UPI apps that can handle this sort of a url). Any ideas why this might happen?
"react-native": "0.59.5", "react-native-upi-payment": "^1.0.2",