Parametrized namespace

pull/210/head
M66B 2 years ago
parent 6058706825
commit cd977705db

@ -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>

Loading…
Cancel
Save