🐛 Try to fix protocol handler issue on android

This commit is contained in:
LittleSheep 2024-08-21 16:02:00 +08:00
parent 6ad0a34645
commit 0f1a02f65b
2 changed files with 51 additions and 43 deletions

View File

@ -58,6 +58,13 @@
<data android:host="sn.solsynth.dev" /> <data android:host="sn.solsynth.dev" />
<data android:scheme="https" /> <data android:scheme="https" />
<data android:scheme="https" /> <data android:scheme="https" />
</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="solink" /> <data android:scheme="solink" />
</intent-filter> </intent-filter>

View File

@ -127,6 +127,7 @@ class _ChatScreenState extends State<ChatScreen> {
noCategory: true, noCategory: true,
channels: _channels.directChannels, channels: _channels.directChannels,
selfId: selfId, selfId: selfId,
useReplace: true,
), ),
), ),
), ),