android { defaultConfig { manifestPlaceholders = [hostName:"www.example.com"] } ... }
Now you can use hostname as:
hostname
<intent-filter ... > <data android:scheme="https" android:host="${hostName}" ... /> ... </intent-filter>
Last updated 1 year ago