Request in-app inventory while showing banner
This commit is contained in:
parent
65992fafea
commit
52019817dd
1 changed files with 4 additions and 0 deletions
|
@ -201,6 +201,10 @@ public class DiscountHelper {
|
|||
if (showChristmasDialog) {
|
||||
mapActivity.showXMasDialog();
|
||||
} else {
|
||||
InAppPurchaseHelper purchaseHelper = mapActivity.getPurchaseHelper();
|
||||
if (purchaseHelper != null) {
|
||||
purchaseHelper.requestInventory();
|
||||
}
|
||||
showDiscountBanner(mapActivity, data);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue