title: Android Product Flavors Manifests
body: <p>I'm working on my first android app, and I'm just getting started with product flavors.  I have a free version in beta, and I'm starting to make a a paid version.  I'm a bit confused about the manifests.</p>
  
  <p>The paid version will have one activity that the free version does not, and the two will have different permissions.  I'm thinking that I will remove the permissions from the main manifest, that the free manifest will have nothing in it but its permissions, and the paid manifest will have nothing in it but its permissions and the extra activity.  </p>
  
  <p>For example, the free manifest might be</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.example.app"&gt;
  
      &lt;uses-permission android:name="android.permission.INTERNET"/&gt;
      &lt;/uses-permission&gt;
  
  &lt;/manifest&gt;
  </code></pre>
  
  <p>Is this correct?      </p>