Google Play Billing integration is set up by setting the dependency on the library in the app’s gradle file, as demonstrated in the docs:
dependencies {
def billing_version = "7.0.0"
implementation "com.android.billingclient:billing:$billing_version"
}
Some SDKs expose a constant, property, or a field denoting the library version which can be checked at runtime.
I’d like t know if there’s such an option with Google Play Billing ?
Is there a way of getting the actual billing version used at runtime?