-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Automatically query product details with results of querypurchases/qu…
…erypurchasehistory Summary: In order to query product details, we need to pass in a list of product Ids ([docs](https://developer.android.com/reference/com/android/billingclient/api/QueryProductDetailsParams.Builder)). In order to know what those productIds are, we need to have first queried for purchases or purchase history. Therefore, we need to make the call to queryProductDetailsAsync in the listener of queryPurchasesAsync and queryPurchaseHistoryAsync. Reviewed By: jjiang10 Differential Revision: D60979363 fbshipit-source-id: 13d73a04dfc937658a1f7b60123f182e1421e13f
- Loading branch information
1 parent
7e7b568
commit 8575b3b
Showing
2 changed files
with
35 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters