• Ежемесячный план: правильно отображается с бесплатной пробной версией.
• Годовой план: вообще не появляется в приложении.
Код: Выделить всё
fun launchBillingFlowForBasePlan(
activity: Activity,
productDetails: ProductDetails,
basePlanId: String,
offerToken: String
) {
val offerDetails = productDetails.subscriptionOfferDetails?.firstOrNull { offer ->
offer.basePlanId == basePlanId
}
val productDetailsParams = BillingFlowParams.ProductDetailsParams.newBuilder()
.setProductDetails(productDetails)
.setOfferToken(offerToken)
.build()
val billingFlowParams = BillingFlowParams.newBuilder()
.setProductDetailsParamsList(listOf(productDetailsParams))
.build()
billingClient?.launchBillingFlow(activity, billingFlowParams)
}
This is the call where we lauchBillingFlow
Годовой вид в Android-
< /p>
Google Play Console-
Goolge Play Console- for Monthly-
p> p> p> p> p> p> p> p> p> p> p> p> p> ststatic.net/3khp41x. /> oopge play console- для ежегодного-
Подробнее здесь: https://stackoverflow.com/questions/796 ... my-app-whe
Мобильная версия