Update AndroidManifest

This commit is contained in:
arm64v8a 2021-11-17 21:09:53 +08:00
parent 158fc41032
commit 3ff59f4a7d
2 changed files with 4 additions and 2 deletions

View File

@ -320,12 +320,15 @@ android {
productFlavors {
mini {
isDefault true
manifestPlaceholders = [is_full_version: "false"]
}
full {
manifestPlaceholders = [is_full_version: "true"]
}
miniPlay {
versionNameSuffix "-play"
versionCode verCode - 2
manifestPlaceholders = [is_full_version: "false"]
}
}

View File

@ -168,11 +168,10 @@
<data android:host="t.me" android:scheme="http" />
<data android:host="t.me" android:scheme="https" />
</intent-filter>
<intent-filter android:icon="@mipmap/ic_launcher" android:roundIcon="@mipmap/ic_launcher" android:priority="1">
<intent-filter android:icon="@mipmap/ic_launcher" android:roundIcon="@mipmap/ic_launcher" android:priority="1" android:enabled="${is_full_version}">
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.BROWSABLE" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="tg" />
<data android:scheme="vmess" />
<data android:scheme="vmess1" />