support vk.ru at opening links

This commit is contained in:
gdlbo
2022-08-27 13:34:03 +03:00
parent 34c6a7f8b1
commit c9b8dbc8dd
3 changed files with 12 additions and 12 deletions
@@ -7,9 +7,9 @@ import android.util.Log;
public class ApiProxy{
public static String linkReplacer(String link){
var vkapi = "api.vk.com";
var oauth = "oauth.vk.com";
var vkstatic = "static.vk.com";
var vkapi = "api.vk.ru";
var oauth = "oauth.vk.ru";
var vkstatic = "static.vk.ru";
var vkapiold = "api.vk.com";
var oauthold = "oauth.vk.com";
var vkstaticold = "static.vk.com";
+8 -8
View File
@@ -961,7 +961,7 @@
<category android:name="android.intent.category.BROWSABLE" />
<data
android:host="vk.com"
android:host="vk.ru"
android:pathPattern="/.*"
android:scheme="http" />
</intent-filter>
@@ -1005,7 +1005,7 @@
<category android:name="android.intent.category.BROWSABLE" />
<data
android:host="new.vk.com"
android:host="new.vk.ru"
android:pathPattern="/.*"
android:scheme="http" />
</intent-filter>
@@ -1016,7 +1016,7 @@
<category android:name="android.intent.category.BROWSABLE" />
<data
android:host="vk.com"
android:host="vk.ru"
android:pathPattern="/.*"
android:scheme="https" />
</intent-filter>
@@ -1038,7 +1038,7 @@
<category android:name="android.intent.category.BROWSABLE" />
<data
android:host="new.vk.com"
android:host="new.vk.ru"
android:pathPattern="/.*"
android:scheme="https" />
</intent-filter>
@@ -1131,7 +1131,7 @@
<action android:name="android.nfc.action.NDEF_DISCOVERED" />
<data
android:host="m.vk.com"
android:host="m.vk.ru"
android:pathPattern="/.*"
android:scheme="http" />
</intent-filter>
@@ -1143,7 +1143,7 @@
<action android:name="android.nfc.action.NDEF_DISCOVERED" />
<data
android:host="m.vk.com"
android:host="m.vk.ru"
android:pathPattern="/.*"
android:scheme="https" />
</intent-filter>
@@ -1178,7 +1178,7 @@
<category android:name="android.intent.category.BROWSABLE" />
<data
android:host="m.vk.com"
android:host="m.vk.ru"
android:pathPattern="/restore"
android:scheme="http" />
</intent-filter>
@@ -1189,7 +1189,7 @@
<category android:name="android.intent.category.BROWSABLE" />
<data
android:host="m.vk.com"
android:host="m.vk.ru"
android:pathPattern="/restore"
android:scheme="https" />
</intent-filter>
+1 -1
View File
@@ -1,7 +1,7 @@
appscent
//t.me/
vk.com
vk.com
vk.ru
apps-cent
app-cent
appcent