jobobby04 / TachiyomiSY

Free and open source manga reader for Android
Apache License 2.0
2.5k stars 136 forks source link

Unable to open comic through link #1116

Open huajideshutiao opened 4 months ago

huajideshutiao commented 4 months ago

Steps to reproduce

https://github.com/jobobby04/TachiyomiSY/assets/38980554/d8b864e5-68a6-4b7b-a2c2-1387aabcf035

Expected behavior

Can open normally like long pressing the link in the second half of the video.

Actual behavior

Clicking on the link directly in an external application will prompt loading, and then return to the original interface. I have tested nagram and a text editor, both of which have similar issues. And if the application does not have a backend process, it will prompt an error when opening the link for the first time.

Crash logs

No response

TachiyomiSY version

1.10.5

Android version

Android 14

Device

redmi k70 pro

Other details

This issue is also reproduced on pre 547.

Acknowledgements

huajideshutiao commented 4 months ago

The following is the intent passed when directly clicking on the link, which may be helpful.

{ "action": "android.intent.action.VIEW", "uri": "https:\/\/exhentai.org\/g\/2857773\/c21c1f3cbe\/", "extra": "S.com.android.browser.application_id=xyz.nextalone.nagram\nB.internal=true\nB.create_new_tab=true\n" }

jobobby04 commented 4 months ago

Addressed by https://github.com/jobobby04/TachiyomiSY/commit/31e5ba4caf0cdef0d368a7764ef3345d47585c0a