initPayment

fun Context.initPayment(apiKey: String, isDebug: Boolean, subscriptionName: String)

Author: @Jeluchu

Init RevenueCat Configuration

Parameters

apiKey

String In this value you must pass the key generated by RevenueCat to obtain all the information of the products offered to the users

isDebug

Boolean This parameter is used to indicate if the build variant you are using is Debug or not, to show you more or less errors depending on the environment

subscriptionName

String This will be the name you have indicated in RevenueCat for your subscription, inside then you can have different types (Monthly, Annual, etc)

See also