logOutWith
fun Purchases.logOutWith(onError: (error: PurchasesError) -> Unit = ON_ERROR_STUB, onSuccess: (customerInfo: CustomerInfo) -> Unit)
Logs out the Purchases client clearing the save appUserID. This will generate a random user id and save it in the cache.
Parameters
onSuccess
Will be called after the call has completed.
onError
Will be called if there was an error with the purchase.