Update the *AndroidManifest.xml* File {#pax-aio-configure-android-manifest-xml}
===============================================================================

To support a large heap size and ensure the necessary permissions for the Default UI, update your `AndroidManifest.xml` file. Enabling a larger heap is essential for scenarios where terminal updates require the handling and transfer of large volumes of data.  
Follow these steps to update your *AndroidManifest.xml* file.

1. Set the `android:allowBackup` attribute to `false` and the `android:largeHeap` attribute to `true`.

   ```
   &lt;application
       ...
       android:allowBackup="false"
       android:largeHeap="true"
       &gt;
       ...
   &lt;/application&gt;
   ```
2. Enable the needed permissions for the Default UI and PAX.

   ```
   &lt;manifest ... &gt;
       ...
       &lt;!-- Needed for Default UI ! --&gt;
       &lt;uses-permission android:name="android.permission.INTERNET"/&gt;
       &lt;uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/&gt;
       &lt;uses-permission android:name="android.permission.READ_PHONE_STATE"/&gt;                   
       
       &lt;!-- Needed for PAX integrations ! --&gt;
       &lt;uses-permission android:name="com.pax.permission.ICC"/&gt;
       &lt;uses-permission android:name="com.pax.permission.PICC"/&gt;
       &lt;uses-permission android:name="com.pax.permission.MAGCARD"/&gt;
       &lt;uses-permission android:name="com.pax.permission.PED"/&gt;                
       ...
   &lt;/manifest&gt;
   ```

