I just received an alarming notification with a complete red background in the google play console saying the following
Issue identified that may affect integration with Play Billing Library
We recently discovered an issue that your app may have been incorrectly integrated with the Play Billing Library, and this may impact your purchase conversions and user experience.
If your app is calling setOfferToken for one-time products and setting it to “”, you will need to update your integration by not setting it to “” by June 12, 2024.
Best practices to apply when using setOfferToken:
- Ensure you are not calling [setOfferToken] https://developer.android.com/reference/com/android/billingclient/api/BillingFlowParams.ProductDetailsParams.Builder#setOfferToken(java.lang.String) for one-time products.
- [setOfferToken] for subscriptions but do not set it for one-time products. See more details in the [public integration guide] https://developer.android.com/google/play/billing/integrate#launch
Thanks!
If anyone can advise, we don’t use any setOfferToken (assuming its to do with subscriptions) whatever that means? we dont have any subscriptions iap for this app. just normal iap
we are using billing v2 in our build settings
["plugin.google.iap.billing.v2"] =
{
publisherId = "com.solar2d"
},
and have been using the same store code for years and only now receiving this issue notice in GP console.