AniLibApp / AniLib

AniLib is Anime/Manga tracking app by the power of AniList.co. Track and browse through all your Weeby Collection and much more.
Apache License 2.0
84 stars 3 forks source link

Able the "open in app" feature for Tachiyomi #12

Closed Palloxin closed 2 years ago

Palloxin commented 2 years ago

I heard from the developer of tachiyomi that you are the one that manage the permission of the "open in app" option so i am asking you to add it. i don't know if it matters but it should be used here IMG_20220325_142441 tachiyomi is the most useful app to read manga from all over the internet and it has github so i don't think it is sketchy.

rev0lgenX commented 2 years ago

Tachiyomi is using customtabs or browser to open the link. 'Open in app' is controlled by me but 'Open in Browser' that Tachiyomi has in its option is used to open browser which is why apps are not being listed. You can refer the code in Tachiyomi through the link Open in browser code.

You can ask them to add additional option to open app instead of browser.

Palloxin commented 2 years ago

This is what they said: Screenshot_20220325-151347 https://github.com/tachiyomiorg/tachiyomi/issues/6819

rev0lgenX commented 2 years ago

code link Use this link and ask them if this code is being used to open link. If this code is used then it directly opens browser, and tell them you want something like


fun Context.openLink(url: String?) {
    try {
        if (!url.isNullOrBlank()) {
            startActivity(Intent(Intent.ACTION_VIEW, url.trim().toUri()).also {
                it.flags = Intent.FLAG_ACTIVITY_NEW_TASK
            })
        } else {

        }
    } catch (e: Exception) {
    }
}

Deep linking is not possible but above code will list all the app that can handle the link. Ask them if additional option to open in app along with open in browser is possible.

Palloxin commented 2 years ago

revolgen try to speak there pls, i can't be the intermediator, it is strange and they might ban me if i insist since i am not directly involved. in the other "post" they locked the comments so.. here is a part 2 of the issue posted there https://github.com/tachiyomiorg/tachiyomi/issues/6821

Palloxin commented 2 years ago

IMG_20220325_155640

rev0lgenX commented 2 years ago

Clicking on "Open in browser" does shows the apps that are are able to handle the link. But, if any browser is 'Set as Default' then this options will no longer be available, and they'll have to remove default browser to show the list of app again.

They locked the issue, I can't add comment to it. You can try to remove your default browser and try again, it should show app list.

Palloxin commented 2 years ago

Clicking on "Open in browser" does shows the apps that are are able to handle the link. But, if any browser is 'Set as Default' then this options will no longer be available, and they'll have to remove default browser to show the list of app again.

They locked the issue, I can't add comment to it. You can try to remove your default browser and try again, it should show app list.

a mod reopened it, you can debate there

rev0lgenX commented 2 years ago

@Palloxin They opened it, I hope you'll get what you wanted.✌️✌️