<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    package="com.performicsmanager">

    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.CAMERA" />
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
    <uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS"/>
    <!-- Only add ACCESS_BACKGROUND_LOCATION if you actually need background location -->
    <uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" />

    <!-- Storage: prefer scoped storage. Remove MANAGE_EXTERNAL_STORAGE unless necessary -->
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    <!-- If you truly need all-files access (Android 11+), keep but handle special flow & Play Store rules -->
    <uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.READ_MEDIA_IMAGES" />
    <uses-permission android:name="android.permission.READ_MEDIA_VIDEO" />
    <uses-permission android:name="android.permission.READ_MEDIA_AUDIO" />

    <uses-permission android:name="android.permission.RECORD_AUDIO" />
    <uses-permission android:name="android.permission.VIBRATE" />
    <!-- If your app uses a foreground service (e.g., location in background) -->
    <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />


    <uses-feature android:name="android.hardware.camera" android:required="false" />

    <application
      android:name=".MainApplication"
      android:label="@string/app_name"
      android:icon="@mipmap/ic_launcher"
      android:roundIcon="@mipmap/ic_launcher_round"
      android:allowBackup="false"
      android:theme="@style/AppTheme"
      android:usesCleartextTraffic="${usesCleartextTraffic}"
      android:supportsRtl="true">

      <activity
        android:name=".MainActivity"
        android:screenOrientation="portrait"
        android:label="@string/app_name"
        android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize|uiMode"
        android:launchMode="singleTask"
        android:windowSoftInputMode="adjustResize"
        android:exported="true">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
      </activity>

      <!-- If you need to listen for download-complete, add separate receiver / intent-filter here -->
      <!-- <receiver android:name=".YourDownloadReceiver">
            <intent-filter>
                 <action android:name="android.intent.action.DOWNLOAD_COMPLETE" />
            </intent-filter>
         </receiver> -->

      <meta-data
        android:name="com.google.android.geo.API_KEY"
        android:value="AIzaSyCI1EaTZk3eXA_J_UsnBC1STOAFd5unJ4A" />
    </application>

    <queries>
    <intent>
        <action android:name="android.intent.action.VIEW" />
        <data android:mimeType="application/pdf" />
    </intent>
</queries>
</manifest>




<!-- 
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.CAMERA" android:protectionLevel="normal"/>
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"  android:protectionLevel="normal"/>
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" android:protectionLevel="normal"/>
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" android:protectionLevel="normal"/>
    <uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE" android:protectionLevel="normal"/>
    <uses-permission android:name="android.permission.RECORD_AUDIO" android:protectionLevel="normal"/>
    <uses-feature android:name="android.hardware.camera" android:protectionLevel="normal"/>
    <uses-permission android:name="android.permission.VIBRATE"/>

    <application
      android:name=".MainApplication"
      android:label="@string/app_name"
      android:icon="@mipmap/ic_launcher"
      android:roundIcon="@mipmap/ic_launcher_round"
      android:allowBackup="false"
      android:theme="@style/AppTheme"
      android:usesCleartextTraffic="${usesCleartextTraffic}"
      android:supportsRtl="true">
      <activity
        android:name=".MainActivity"
        android:screenOrientation="portrait"
        android:label="@string/app_name"
        android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize|uiMode"
        android:launchMode="singleTask"
        android:windowSoftInputMode="adjustResize"
        android:exported="true">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
      </activity>
      <meta-data  
      android:name="com.google.android.geo.API_KEY"  
      android:value="AIzaSyCI1EaTZk3eXA_J_UsnBC1STOAFd5unJ4A"/>
    </application>
</manifest> -->




