Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

fix(auth): revert manifest

Prateek Sunal7c43908ca25d
diff --git a/auth/android/app/src/main/AndroidManifest.xml b/auth/android/app/src/main/AndroidManifest.xml
index 5c5afac745..a7b34f1add 100644
--- a/auth/android/app/src/main/AndroidManifest.xml
+++ b/auth/android/app/src/main/AndroidManifest.xml
@@ -1,62 +1,70 @@
-<manifest xmlns:android="http://schemas.android.com/apk/res/android">
- <application
- android:label="auth"
- android:name="${applicationName}"
- android:icon="@mipmap/ic_launcher">
- <activity
- android:name=".MainActivity"
- android:exported="true"
- android:launchMode="singleTop"
- android:theme="@style/LaunchTheme"
- android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
- android:hardwareAccelerated="true"
- android:windowSoftInputMode="adjustResize">
- <!-- Specifies an Android theme to apply to this Activity as soon as
- the Android process has started. This theme is visible to the user
- while the Flutter UI initializes. After that, this theme continues
- to determine the Window background behind the Flutter UI. -->
- <meta-data
- android:name="io.flutter.embedding.android.NormalTheme"
- android:resource="@style/NormalTheme"
- />
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools">
+ <application android:name="${applicationName}"
+ android:label="auth"
+ 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" />
+ <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" />
- <category android:name="android.intent.category.BROWSABLE" />
- <data android:scheme="ente-auth" />
+ <action android:name="android.intent.action.VIEW"/>
+ <category android:name="android.intent.category.DEFAULT"/>
+ <category android:name="android.intent.category.BROWSABLE"/>
+ <data android:scheme="ente-auth"/>
</intent-filter>
+
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="otpauth" />
</intent-filter>
+
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="enteauth" />
</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="io.sentry.dsn"
+ android:value="https://[email protected]/9"/>
</application>
- <!-- Required to query activities that can process text, see:
- https://developer.android.com/training/package-visibility?hl=en and
- https://developer.android.com/reference/android/content/Intent#ACTION_PROCESS_TEXT.
- In particular, this is used by the Flutter engine in io.flutter.plugin.text.ProcessTextPlugin. -->
<queries>
<intent>
- <action android:name="android.intent.action.PROCESS_TEXT" />
- <data android:mimeType="text/plain" />
+ <action android:name="android.intent.action.SENDTO"/>
+ <data android:scheme="mailto"/>
</intent>
</queries>
-</manifest>
\ No newline at end of file
+ <uses-permission android:name="android.permission.INTERNET"/>
+ <uses-permission
+ 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.USE_BIOMETRIC"/>
+
+</manifest>