android-quickstart icon indicating copy to clipboard operation
android-quickstart copied to clipboard

Dismiss google pay sheet programmatically

Open geniushkg opened this issue 6 years ago • 0 comments

I have unique Bussiness logic requirement where Need to cancel or stop User from proceeding with google pay if timer that is running in Background runs out.

Suppose user clicked Google pay button then we use

AutoResolveHelper.resolveTask<PaymentData>(futurePayTask, this, LOAD_PAYMENT_DATA_REQUEST_CODE) This should return onactivityresult if user performs cancel or success but I want to forcefully cancel if timer runs out.

alt text

geniushkg avatar Feb 19 '19 12:02 geniushkg