resetWith
fun Purchases.resetWith(onError: ErrorFunction = ON_ERROR_STUB, onSuccess: ReceivePurchaserInfoSuccessFunction)
Content copied to clipboard
Resets 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 after the call has completed with an error.