purchases / com.revenuecat.purchases / getPurchaserInfoWith

getPurchaserInfoWith

fun Purchases.getPurchaserInfoWith(onError: ErrorFunction = onErrorStub, onSuccess: ReceivePurchaserInfoSuccessFunction): Unit

Get latest available purchaser info.

Parameters

onSuccess - Called when purchaser info is available and not stale. Called immediately if purchaser info is cached.

onError - Will be called after the call has completed with an error.