This is in device Clover Flex.
I have a react native app, in which I have added a button component developed in android. On the touchlistener of Android, I am calling PaymentConnector.sale.
The issue is that the sale screen is not displayed. I have noticed that if I tap the button rapidly between 20-30 times, sometimes the screen does get displayed.
React-Native uses api version 28, so I compiled ReactNative from source and set its targetSdk to 22. I could not change compileSdk of React because it uses some libraries of the later sdk.
If I create a new Activity and put the button in that, the screen *is* displayed. However, I do not want to add an extra screen just for this issue.