[android] Added usage of production bookmarks subs product ids

This commit is contained in:
Александр Зацепин 2019-07-10 11:45:31 +03:00 committed by yoksnod
parent 25a4f578db
commit cc66a0473d

View file

@ -41,9 +41,8 @@ public class PurchaseFactory
= new PlayStoreBillingManager(BillingClient.SkuType.SUBS);
PurchaseOperationObservable observable = PurchaseOperationObservable.from(context);
PurchaseValidator<ValidationCallback> validator = new DefaultPurchaseValidator(observable);
// TODO: replace with bookmark subscription when they are ready.
String yearlyProduct = PrivateVariables.adsRemovalYearlyProductId();
String monthlyProduct = PrivateVariables.adsRemovalMonthlyProductId();
String yearlyProduct = PrivateVariables.bookmarksSubscriptionYearlyProductId();
String monthlyProduct = PrivateVariables.bookmarksSubscriptionMonthlyProductId();
String[] productIds = Utils.concatArrays(PrivateVariables.bookmarksSubscriptionNotUsedList(),
yearlyProduct, monthlyProduct);
return new SubscriptionPurchaseController(validator, billingManager,