processout / processout-android

https://www.processout.com
MIT License
2 stars 5 forks source link

fix(ad-hoc): Catch Google Pay API exception #187

Closed vitalii-vanziak-cko closed 6 months ago

vitalii-vanziak-cko commented 6 months ago

Description

Google Pay API throws an exception when checking readiness on the device where it's not available:

com.google.android.gms.common.api.ApiException: 17: API: Wallet.API is not available on this device. Connection failed with: ConnectionResult{statusCode=SERVICE_INVALID, resolution=null, message=null}

Catching and logging.