leon icon indicating copy to clipboard operation
leon copied to clipboard

[Feature Request] open links inside the app with your main browser

Open BluePixel4k opened this issue 1 year ago • 4 comments

Possibility to open links directly inside the León app via the CustomTabsIntent function. Chromium and Gecko based browser supporting this.

Benefit: the links get open faster, because not the full browser has to be loaded.

Information about this function: https://developer.android.com/reference/kotlin/androidx/browser/customtabs/CustomTabsIntent

And an example code from another application: https://github.com/bubelov/news/commit/38baca3fd2850a74209082271e0b25efcfd6b502

Thx in advance! :)

BluePixel4k avatar Jan 04 '24 21:01 BluePixel4k

Interestingly Leon had this feature which was called "Verify", which however was removed in this PR to solve this issue.

So what do we do know? 🤔

svenjacobs avatar Jan 05 '24 09:01 svenjacobs

Oh okay. Maybe you can add this feature again as an option via something like this (Open URL via custom tab):

BluePixel4k avatar Jan 06 '24 10:01 BluePixel4k

That's a good idea. I will probably add another switch "Open URL via custom tab" (instead of a new Action option) which generally works for the open button and the "Action after clean".

svenjacobs avatar Jan 07 '24 12:01 svenjacobs

That would be awesome, thank you!

BluePixel4k avatar Jan 08 '24 22:01 BluePixel4k

@svenjacobs any news on this? :)

BluePixel4k avatar May 28 '24 18:05 BluePixel4k

@BluePixel4k Unfortunately I didn't find much time in the last months to work on Leon 😞 Hopefully soon! 🤞🏼

svenjacobs avatar May 29 '24 09:05 svenjacobs

This has been implemented in #407 and will be available with the next release.

svenjacobs avatar May 30 '24 13:05 svenjacobs

Awesome, thank you! 🥳

BluePixel4k avatar May 30 '24 18:05 BluePixel4k