π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Unbreak flutter run by removing LAUNCHER nodes per flavor
vishnukvmd2f7a6c7fd105
diff --git a/mobile/android/app/src/dev/AndroidManifest.xml b/mobile/android/app/src/dev/AndroidManifest.xmlindex cbf1924b23..a6523da664 100644--- a/mobile/android/app/src/dev/AndroidManifest.xml+++ b/mobile/android/app/src/dev/AndroidManifest.xml@@ -1,5 +1,27 @@<manifest xmlns:android="http://schemas.android.com/apk/res/android"+ xmlns:tools="http://schemas.android.com/tools"package="io.ente.photos">++ <!-- Adding the following block to prevent the app from having multiple+ launcher entries. We can remove this along with the `LAUNCHER` category from+ main/AndroidManifest.xml once+ https://github.com/flutter/flutter/issues/38965 is fixed. -->+ <application>+ <activity android:name=".MainActivity"+ android:launchMode="singleTask"+ 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" tools:node="remove"/>+ </intent-filter>+ </activity>+ </application>+<!-- Flutter needs it to communicate with the running applicationto allow setting breakpoints, to provide hot reload, etc.-->diff --git a/mobile/android/app/src/fdroid/AndroidManifest.xml b/mobile/android/app/src/fdroid/AndroidManifest.xmlindex 2d96997533..41bed3f0ba 100644--- a/mobile/android/app/src/fdroid/AndroidManifest.xml+++ b/mobile/android/app/src/fdroid/AndroidManifest.xml@@ -1,4 +1,25 @@<manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools"package="io.ente.photos">++ <!-- Adding the following block to prevent the app from having multiple+ launcher entries. We can remove this along with the `LAUNCHER` category from+ main/AndroidManifest.xml once+ https://github.com/flutter/flutter/issues/38965 is fixed. -->+ <application>+ <activity android:name=".MainActivity"+ android:launchMode="singleTask"+ 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" tools:node="remove"/>+ </intent-filter>+ </activity>+ </application>+<uses-permission android:name="com.android.vending.BILLING" tools:node="remove"/></manifest>diff --git a/mobile/android/app/src/independent/AndroidManifest.xml b/mobile/android/app/src/independent/AndroidManifest.xmlnew file mode 100644index 0000000000..127a709588--- /dev/null+++ b/mobile/android/app/src/independent/AndroidManifest.xml@@ -0,0 +1,24 @@+<manifest xmlns:android="http://schemas.android.com/apk/res/android"+ xmlns:tools="http://schemas.android.com/tools"+ package="io.ente.photos">++ <!-- Adding the following block to prevent the app from having multiple+ launcher entries. We can remove this along with the `LAUNCHER` category from+ main/AndroidManifest.xml once+ https://github.com/flutter/flutter/issues/38965 is fixed. -->+ <application>+ <activity android:name=".MainActivity"+ android:launchMode="singleTask"+ 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" tools:node="remove"/>+ </intent-filter>+ </activity>+ </application>+</manifest>diff --git a/mobile/android/app/src/main/AndroidManifest.xml b/mobile/android/app/src/main/AndroidManifest.xmlindex facb4a74d8..24995edf5b 100644--- a/mobile/android/app/src/main/AndroidManifest.xml+++ b/mobile/android/app/src/main/AndroidManifest.xml@@ -18,6 +18,7 @@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" />diff --git a/mobile/android/app/src/playstore/AndroidManifest.xml b/mobile/android/app/src/playstore/AndroidManifest.xmlnew file mode 100644index 0000000000..127a709588--- /dev/null+++ b/mobile/android/app/src/playstore/AndroidManifest.xml@@ -0,0 +1,24 @@+<manifest xmlns:android="http://schemas.android.com/apk/res/android"+ xmlns:tools="http://schemas.android.com/tools"+ package="io.ente.photos">++ <!-- Adding the following block to prevent the app from having multiple+ launcher entries. We can remove this along with the `LAUNCHER` category from+ main/AndroidManifest.xml once+ https://github.com/flutter/flutter/issues/38965 is fixed. -->+ <application>+ <activity android:name=".MainActivity"+ android:launchMode="singleTask"+ 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" tools:node="remove"/>+ </intent-filter>+ </activity>+ </application>+</manifest>