getAmazonLWAConsentStatus

Note: This method only works for the Amazon Appstore. There is no Google equivalent at this time. Calling from a Google-configured app will always return AmazonLWAConsentStatus.UNAVAILABLE.

Get the Login with Amazon consent status for the current user. Used to implement one-click account creation using Quick Subscribe.

For more information, check the documentation: https://developer.amazon.com/docs/in-app-purchasing/iap-quicksubscribe.html

Coroutine friendly version of Purchases.getAmazonLWAConsentStatus.

Throws

with the first PurchasesError if there's an error getting the consent status