awaitLogInEither

suspend fun <Error class: unknown class>.awaitLogInEither(newAppUserID: String): Either<<Error class: unknown class>, <Error class: unknown class>>

This function will change the current Purchases.appUserID. Typically this would be used after a log out to identify a new user without calling Purchases.configure.

Return

An Either.Right containing CustomerInfo if successful, an Either.Left containing a PurchasesError in case of a failure.

Parameters

newAppUserID

The new appUserID that should be linked to the currently user