Skip to main content

Overview

Now that placements are presenting, choose the subscription product Encore offers. When a user accepts an offer at a churn moment, Encore hands the product you pick to your registered purchase controller, which runs a real Google Play subscription purchase, and Google Play handles all entitlement state; no custom entitlement tracking code is needed in your app. The setup itself is store-console work, done once in Google Play Console and your app’s Entitlements step:

Google Play Subscription Product

Connect your Google Play catalog and pick the subscription, base plan, and offer Encore uses, let Encore create one for you, or enter a Product ID manually.

What the SDK does with the Product ID at runtime

You never hard-code the Product ID in your app; Encore delivers it to the SDK as remote configuration:
  • The SDK reads the configured subscription Product ID from your app’s Encore config automatically.
  • When a user accepts an offer, the SDK invokes your registered EncorePurchaseController with that Product ID as request.productId and awaits your verdict.
Because it’s remote config, changing the product in the Encore Dashboard takes effect without an app update.
A configured product with no registered purchase controller never charges anyone: the claim flow still completes, the result records PublisherOutcome.NotAttempted, a warning is logged at every log level, and the sdk_iap_no_purchase_controller analytics event makes the misconfiguration visible.

Next Steps

  • Configure Analytics - Forward Google Play subscription events so Encore can measure offer impact