0

I have an Android app with paid and free flavors, and have been working on including 'instant' capabilities. I don't want the 'Try now' button to appear for my paid version, so I'd like to disable the instant app module for my paid flavor. How do I do that?

Elliot Schrock
  • 1,406
  • 2
  • 9
  • 20
  • Have you checked this SO post wherein it [disabled the building of feature modules for a flavor app](https://stackoverflow.com/questions/49785873/unable-to-build-feature-modules-in-a-multi-flavor-app)? The major module of your instant app is the base component module. All other element modules must rely upon the base element module. – Jessica Rodriguez Mar 06 '19 at 15:39
  • I'm not sure about flavors yet... but you should be able to disable the Try Now for your paid version by setting the Mobile Holdback to 100% (ie. block all users from accessing your instant app) – TWL Mar 06 '19 at 22:40

1 Answers1

0

You don't need to disable the module to prevent enabling instant experience for the paid app. If you never upload your APK/Bundle in the "Android Instant Apps" release section, it won't be enabled for the paid app.

Even if you do upload it, you can still press "Stop Serving" in Google Play "Android Instant Apps" section, or adjust country distribution for the instant app to 0 countries.

Hassan Ibraheem
  • 2,329
  • 1
  • 17
  • 23