mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-26 10:55:09 +01:00
Parametrized namespace
This commit is contained in:
@@ -28,6 +28,8 @@ android {
|
||||
versionName "1." + getVersionCode()
|
||||
archivesBaseName = "FairEmail-v$versionName" + getRevision()
|
||||
|
||||
manifestPlaceholders = [namespace: applicationId.replace('.debug', '')]
|
||||
|
||||
buildConfigField "String", "REVISION", "\"" + getRevision() + "\""
|
||||
buildConfigField "String", "RELEASE_NAME", "\"" + getReleaseName() + "\""
|
||||
|
||||
|
||||
@@ -255,7 +255,7 @@
|
||||
<category android:name="android.intent.category.BROWSABLE" />
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
|
||||
<data android:scheme="eu.faircode.email.search" />
|
||||
<data android:scheme="${namespace}.search" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
|
||||
@@ -469,16 +469,7 @@
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
<category android:name="android.intent.category.BROWSABLE" />
|
||||
|
||||
<data android:scheme="eu.faircode.email" />
|
||||
</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="eu.faircode.email.debug" />
|
||||
<data android:scheme="${namespace}" />
|
||||
</intent-filter>
|
||||
|
||||
<intent-filter>
|
||||
@@ -489,7 +480,7 @@
|
||||
|
||||
<data
|
||||
android:host="auth"
|
||||
android:scheme="msauth.eu.faircode.email" />
|
||||
android:scheme="msauth.${namespace}" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
|
||||
|
||||
@@ -261,7 +261,7 @@
|
||||
<category android:name="android.intent.category.BROWSABLE" />
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
|
||||
<data android:scheme="eu.faircode.email.search" />
|
||||
<data android:scheme="${namespace}.search" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
|
||||
@@ -475,16 +475,7 @@
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
<category android:name="android.intent.category.BROWSABLE" />
|
||||
|
||||
<data android:scheme="eu.faircode.email" />
|
||||
</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="eu.faircode.email.debug" />
|
||||
<data android:scheme="${namespace}" />
|
||||
</intent-filter>
|
||||
|
||||
<intent-filter>
|
||||
@@ -495,7 +486,7 @@
|
||||
|
||||
<data
|
||||
android:host="auth"
|
||||
android:scheme="msauth.eu.faircode.email" />
|
||||
android:scheme="msauth.${namespace}" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
|
||||
|
||||
@@ -261,7 +261,7 @@
|
||||
<category android:name="android.intent.category.BROWSABLE" />
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
|
||||
<data android:scheme="eu.faircode.email.search" />
|
||||
<data android:scheme="${namespace}.search" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
|
||||
@@ -475,16 +475,7 @@
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
<category android:name="android.intent.category.BROWSABLE" />
|
||||
|
||||
<data android:scheme="eu.faircode.email" />
|
||||
</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="eu.faircode.email.debug" />
|
||||
<data android:scheme="${namespace}" />
|
||||
</intent-filter>
|
||||
|
||||
<intent-filter>
|
||||
@@ -495,7 +486,7 @@
|
||||
|
||||
<data
|
||||
android:host="auth"
|
||||
android:scheme="msauth.eu.faircode.email" />
|
||||
android:scheme="msauth.${namespace}" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
|
||||
|
||||
@@ -254,7 +254,7 @@
|
||||
<category android:name="android.intent.category.BROWSABLE" />
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
|
||||
<data android:scheme="eu.faircode.email.search" />
|
||||
<data android:scheme="${namespace}.search" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
|
||||
@@ -467,16 +467,7 @@
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
<category android:name="android.intent.category.BROWSABLE" />
|
||||
|
||||
<data android:scheme="eu.faircode.email" />
|
||||
</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="eu.faircode.email.debug" />
|
||||
<data android:scheme="${namespace}" />
|
||||
</intent-filter>
|
||||
|
||||
<intent-filter>
|
||||
@@ -487,7 +478,7 @@
|
||||
|
||||
<data
|
||||
android:host="auth"
|
||||
android:scheme="msauth.eu.faircode.email" />
|
||||
android:scheme="msauth.${namespace}" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
|
||||
|
||||
@@ -255,7 +255,7 @@
|
||||
<category android:name="android.intent.category.BROWSABLE" />
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
|
||||
<data android:scheme="eu.faircode.email.search" />
|
||||
<data android:scheme="${namespace}.search" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
|
||||
@@ -469,16 +469,7 @@
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
<category android:name="android.intent.category.BROWSABLE" />
|
||||
|
||||
<data android:scheme="eu.faircode.email" />
|
||||
</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="eu.faircode.email.debug" />
|
||||
<data android:scheme="${namespace}" />
|
||||
</intent-filter>
|
||||
|
||||
<intent-filter>
|
||||
@@ -489,7 +480,7 @@
|
||||
|
||||
<data
|
||||
android:host="auth"
|
||||
android:scheme="msauth.eu.faircode.email" />
|
||||
android:scheme="msauth.${namespace}" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user