|
@@ -1,107 +1,108 @@
|
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
- xmlns:tools="http://schemas.android.com/tools"
|
|
|
- package="io.ente.photos">
|
|
|
+ xmlns:tools="http://schemas.android.com/tools"
|
|
|
+ package="io.ente.photos">
|
|
|
<application android:name="${applicationName}"
|
|
|
- android:label="@string/app_name"
|
|
|
- android:icon="@mipmap/launcher_icon"
|
|
|
- android:usesCleartextTraffic="true"
|
|
|
- android:requestLegacyExternalStorage="true"
|
|
|
- android:allowBackup="false"
|
|
|
- android:fullBackupContent="false"
|
|
|
- android:largeHeap="true">
|
|
|
+ android:label="@string/app_name"
|
|
|
+ android:icon="@mipmap/launcher_icon"
|
|
|
+ android:usesCleartextTraffic="true"
|
|
|
+ android:requestLegacyExternalStorage="true"
|
|
|
+ android:allowBackup="false"
|
|
|
+ android:fullBackupContent="false"
|
|
|
+ android:largeHeap="true">
|
|
|
|
|
|
<activity android:name=".MainActivity" android:launchMode="singleTop"
|
|
|
- android:theme="@style/LaunchTheme"
|
|
|
- android:exported="true"
|
|
|
- android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
|
|
|
- android:hardwareAccelerated="true"
|
|
|
- android:windowSoftInputMode="adjustResize">
|
|
|
- <intent-filter>
|
|
|
- <action android:name="android.intent.action.MAIN"/>
|
|
|
- <category android:name="android.intent.category.LAUNCHER"/>
|
|
|
- </intent-filter>
|
|
|
- <!-- <intent-filter>
|
|
|
- <action android:name="android.intent.action.VIEW" />
|
|
|
- <category android:name="android.intent.category.DEFAULT" />
|
|
|
- <data android:mimeType="image/*" />
|
|
|
- <data android:mimeType="video/*" />
|
|
|
- </intent-filter> -->
|
|
|
- <intent-filter>
|
|
|
- <action android:name="android.intent.action.PICK" />
|
|
|
- <category android:name="android.intent.category.DEFAULT" />
|
|
|
- <data android:mimeType="image/*" />
|
|
|
- <data android:mimeType="video/*" />
|
|
|
- </intent-filter>
|
|
|
- <intent-filter>
|
|
|
- <action android:name="android.intent.action.GET_CONTENT" />
|
|
|
- <category android:name="android.intent.category.DEFAULT" />
|
|
|
- <category android:name="android.intent.category.OPENABLE" />
|
|
|
- <data android:mimeType="image/*" />
|
|
|
- <data android:mimeType="video/*" />
|
|
|
- </intent-filter>
|
|
|
-
|
|
|
- <!-- file provider to share files having a file:// URI -->
|
|
|
+ android:theme="@style/LaunchTheme"
|
|
|
+ android:exported="true"
|
|
|
+ android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
|
|
|
+ android:hardwareAccelerated="true"
|
|
|
+ android:windowSoftInputMode="adjustResize">
|
|
|
+ <intent-filter>
|
|
|
+ <action android:name="android.intent.action.MAIN" />
|
|
|
+ <category android:name="android.intent.category.LAUNCHER" />
|
|
|
+ </intent-filter>
|
|
|
+ <intent-filter>
|
|
|
+ <action android:name="android.intent.action.VIEW" />
|
|
|
+ <category android:name="android.intent.category.DEFAULT" />
|
|
|
+ <data android:mimeType="image/*" />
|
|
|
+ <data android:mimeType="video/*" />
|
|
|
+ </intent-filter>
|
|
|
+ <intent-filter>
|
|
|
+ <action android:name="android.intent.action.PICK" />
|
|
|
+ <category android:name="android.intent.category.DEFAULT" />
|
|
|
+ <data android:mimeType="image/*" />
|
|
|
+ <data android:mimeType="video/*" />
|
|
|
+ </intent-filter>
|
|
|
+ <intent-filter>
|
|
|
+ <action android:name="android.intent.action.GET_CONTENT" />
|
|
|
+ <category android:name="android.intent.category.DEFAULT" />
|
|
|
+ <category android:name="android.intent.category.OPENABLE" />
|
|
|
+ <data android:mimeType="image/*" />
|
|
|
+ <data android:mimeType="video/*" />
|
|
|
+ </intent-filter>
|
|
|
+
|
|
|
+ <!-- file provider to share files having a file:// URI -->
|
|
|
|
|
|
- <!--Filter to support sharing images into our app-->
|
|
|
+ <!--Filter
|
|
|
+ to support sharing images into our app-->
|
|
|
<intent-filter android:label="@string/backup">
|
|
|
- <action android:name="android.intent.action.SEND"/>
|
|
|
- <category android:name="android.intent.category.DEFAULT"/>
|
|
|
- <data android:mimeType="image/*"/>
|
|
|
+ <action android:name="android.intent.action.SEND" />
|
|
|
+ <category android:name="android.intent.category.DEFAULT" />
|
|
|
+ <data android:mimeType="image/*" />
|
|
|
</intent-filter>
|
|
|
|
|
|
<intent-filter android:label="@string/backup">
|
|
|
- <action android:name="android.intent.action.SEND_MULTIPLE"/>
|
|
|
- <category android:name="android.intent.category.DEFAULT"/>
|
|
|
- <data android:mimeType="image/*"/>
|
|
|
+ <action android:name="android.intent.action.SEND_MULTIPLE" />
|
|
|
+ <category android:name="android.intent.category.DEFAULT" />
|
|
|
+ <data android:mimeType="image/*" />
|
|
|
</intent-filter>
|
|
|
|
|
|
<intent-filter android:label="@string/backup">
|
|
|
- <action android:name="android.intent.action.SEND"/>
|
|
|
- <category android:name="android.intent.category.DEFAULT"/>
|
|
|
- <data android:mimeType="video/*"/>
|
|
|
+ <action android:name="android.intent.action.SEND" />
|
|
|
+ <category android:name="android.intent.category.DEFAULT" />
|
|
|
+ <data android:mimeType="video/*" />
|
|
|
</intent-filter>
|
|
|
|
|
|
<intent-filter android:label="@string/backup">
|
|
|
- <action android:name="android.intent.action.SEND_MULTIPLE"/>
|
|
|
- <category android:name="android.intent.category.DEFAULT"/>
|
|
|
- <data android:mimeType="video/*"/>
|
|
|
+ <action android:name="android.intent.action.SEND_MULTIPLE" />
|
|
|
+ <category android:name="android.intent.category.DEFAULT" />
|
|
|
+ <data android:mimeType="video/*" />
|
|
|
</intent-filter>
|
|
|
|
|
|
</activity>
|
|
|
|
|
|
<!-- Don't delete the meta-data below.
|
|
|
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
|
|
|
- <meta-data android:name="flutterEmbedding" android:value="2"/>
|
|
|
+ <meta-data android:name="flutterEmbedding" android:value="2" />
|
|
|
<meta-data android:name="asset_statements"
|
|
|
- android:resource="@string/asset_statements"/>
|
|
|
+ android:resource="@string/asset_statements" />
|
|
|
<meta-data android:name="io.sentry.dsn"
|
|
|
- android:value="https://2235e5c99219488ea93da34b9ac1cb68@sentry.ente.io/4"/>
|
|
|
+ android:value="https://2235e5c99219488ea93da34b9ac1cb68@sentry.ente.io/4" />
|
|
|
<meta-data android:name="firebase_analytics_collection_deactivated"
|
|
|
- android:value="true"/>
|
|
|
+ android:value="true" />
|
|
|
</application>
|
|
|
|
|
|
<!-- Android 11: https://developer.android.com/preview/privacy/package-visibility -->
|
|
|
<!-- https://developer.android.com/training/package-visibility/use-cases -->
|
|
|
<queries>
|
|
|
<intent>
|
|
|
- <action android:name="android.intent.action.SENDTO"/>
|
|
|
- <data android:scheme="mailto"/>
|
|
|
+ <action android:name="android.intent.action.SENDTO" />
|
|
|
+ <data android:scheme="mailto" />
|
|
|
</intent>
|
|
|
</queries>
|
|
|
- <uses-permission android:name="android.permission.INTERNET"/>
|
|
|
- <uses-permission android:name="android.permission.MANAGE_MEDIA"/>
|
|
|
- <uses-permission android:name="android.permission.ACCESS_MEDIA_LOCATION"/>
|
|
|
+ <uses-permission android:name="android.permission.INTERNET" />
|
|
|
+ <uses-permission android:name="android.permission.MANAGE_MEDIA" />
|
|
|
+ <uses-permission android:name="android.permission.ACCESS_MEDIA_LOCATION" />
|
|
|
<uses-permission
|
|
|
- android:name="android.permission.READ_MEDIA_IMAGES"/> <!-- If you want to read images-->
|
|
|
+ android:name="android.permission.READ_MEDIA_IMAGES" /> <!-- If you want to read images-->
|
|
|
<uses-permission
|
|
|
- android:name="android.permission.READ_MEDIA_VIDEO"/> <!-- If you want to read videos-->
|
|
|
+ android:name="android.permission.READ_MEDIA_VIDEO" /> <!-- If you want to read videos-->
|
|
|
<uses-permission
|
|
|
- android:name="android.permission.READ_EXTERNAL_STORAGE"
|
|
|
- android:maxSdkVersion="32"/>
|
|
|
+ android:name="android.permission.READ_EXTERNAL_STORAGE"
|
|
|
+ android:maxSdkVersion="32" />
|
|
|
<uses-permission
|
|
|
- android:name="android.permission.WRITE_EXTERNAL_STORAGE"
|
|
|
- android:maxSdkVersion="29"
|
|
|
- tools:ignore="ScopedStorage"/>
|
|
|
- <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
|
|
|
- <uses-permission android:name="com.android.vending.BILLING"/>
|
|
|
+ android:name="android.permission.WRITE_EXTERNAL_STORAGE"
|
|
|
+ android:maxSdkVersion="29"
|
|
|
+ tools:ignore="ScopedStorage" />
|
|
|
+ <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
|
|
+ <uses-permission android:name="com.android.vending.BILLING" />
|
|
|
</manifest>
|