restorePurchases

fun restorePurchases(onRestored: (Boolean, String) -> Unit = { _, _ -> })

Restores purchases associated with the current App Store or Play Store account.