Inject build variables into the manifest
You can then insert one of the placeholders into the manifest file as anattribute value like this:
For example, if your file looks like this:
And the manifest result when you build the "free" product flavor is this: