Cache product pricing for 24hrs.

This commit is contained in:
Alex Hart
2025-05-29 11:10:23 -03:00
committed by GitHub
parent 1bd638be46
commit 38a9452de0
2 changed files with 38 additions and 11 deletions

View File

@@ -21,6 +21,10 @@ interface BillingApi {
suspend fun isApiAvailable(): Boolean = false
/**
* Queries the Billing API for product pricing. This value should be cached by
* the implementor for 24 hours.
*/
suspend fun queryProduct(): BillingProduct? = null
/**