I'm setting up an Android gradle project with a few product flavors. I would like to have the <uses-permission android:name="android.permission.INTERNET" />
permission in all but one of my flavors. I know it is possible to have a particular flavor add a permission, but is it possible to have a flavor remove one?
The only other solution to this that I can think of is adding the <uses-permission android:name="android.permission.INTERNET" />
permission to all of my flavors except that one, which seems quite painful.