mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-31 16:18:22 +08:00
Fix intent-filter for bilibili://search deep link (#934)
Fix intent-filter for bilibili://search deep link * update --------- Co-authored-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -111,9 +111,10 @@
|
|||||||
android:pathPattern="/readlist" />
|
android:pathPattern="/readlist" />
|
||||||
<data android:host="advertise" android:path="/home" />
|
<data android:host="advertise" android:path="/home" />
|
||||||
<data android:host="clip" />
|
<data android:host="clip" />
|
||||||
<data android:host="search" />
|
<data android:host="search" android:pathPattern=".*" />
|
||||||
<data android:host="stardust-search" />
|
<data android:host="stardust-search" />
|
||||||
<data android:host="music" />
|
<data android:host="music" />
|
||||||
|
<data android:host="cheese" />
|
||||||
<data android:host="bangumi"
|
<data android:host="bangumi"
|
||||||
android:pathPattern="/season.*" />
|
android:pathPattern="/season.*" />
|
||||||
<data android:host="bangumi" android:pathPattern="/.*" />
|
<data android:host="bangumi" android:pathPattern="/.*" />
|
||||||
@@ -145,7 +146,6 @@
|
|||||||
<data android:host="video" />
|
<data android:host="video" />
|
||||||
<data android:host="story" />
|
<data android:host="story" />
|
||||||
<data android:host="podcast" />
|
<data android:host="podcast" />
|
||||||
<data android:host="search" />
|
|
||||||
<data android:host="main" android:path="/favorite" />
|
<data android:host="main" android:path="/favorite" />
|
||||||
<data android:host="pgc" android:path="/theater/match" />
|
<data android:host="pgc" android:path="/theater/match" />
|
||||||
<data android:host="pgc" android:path="/theater/square" />
|
<data android:host="pgc" android:path="/theater/square" />
|
||||||
@@ -160,7 +160,6 @@
|
|||||||
<data android:host="history" />
|
<data android:host="history" />
|
||||||
<data android:host="charge" android:path="/rank" />
|
<data android:host="charge" android:path="/rank" />
|
||||||
<data android:host="assistant" />
|
<data android:host="assistant" />
|
||||||
<data android:host="assistant" />
|
|
||||||
<data android:host="feedback" />
|
<data android:host="feedback" />
|
||||||
<data android:host="auth" android:path="/launch" />
|
<data android:host="auth" android:path="/launch" />
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
|
|||||||
@@ -219,7 +219,8 @@ class PiliScheme {
|
|||||||
);
|
);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
Get.toNamed('search');
|
||||||
|
return true;
|
||||||
case 'article':
|
case 'article':
|
||||||
// bilibili://article/40679479?jump_opus=1&jump_opus_type=1&opus_type=article&h5awaken=random
|
// bilibili://article/40679479?jump_opus=1&jump_opus_type=1&opus_type=article&h5awaken=random
|
||||||
String? id = uriDigitRegExp.firstMatch(path)?.group(1);
|
String? id = uriDigitRegExp.firstMatch(path)?.group(1);
|
||||||
|
|||||||
Reference in New Issue
Block a user