-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash when default browser doesn't support Custom Tabs #422
Comments
I currently only find version |
I installed |
I have no idea about how to building a crash log. I am not a developer. Sorry. |
What browser is installed on your device? |
I have three browsers: DuckDuck, Mull, Fennec. All taken from droid-ify. Okay, the crash occurs because there are three available options... Could be so? |
Do you know if any of those browsers support Custom Tabs? It is a functionality that browsers must implement to support. Could you maybe as a test install the regular Firefox and see if it still crashes? I assume it has something to do with this code. |
Yes, with the official "Firefox for Android" browser Leon doesn't crash, but only if Firefox is set as default browser. Having it installed is not enough, it needs to be set as default. So what do you will do? Make an exception? |
I probably need to add a check if the current default browser even supports Custom Tabs. |
Hm, that's interesting. Maybe having Leon as the default browser means Custom Tabs are not possible. |
Any updates on this issue? |
@serrq I'm sorry, but I can't reproduce this crash. Even when Leon is set as the default browser and custom tabs are enabled, the app does not crash. Nothing happens when I click "open" because Leon as default browser can't handle custom tabs. Can you please try with the latest version? Also please install via official F-Droid app, just to be sure. |
Forget what I said. I can reproduce this crash when restarting Leon. A fix is incoming. |
The fix just addresses the crash. However, the situation where Leon is the default browser and thus can't open links from within Leon (because it's not a real browser) needs more attention. This also relates to #372. |
Android 14
Leon 42 (fdroid)
OnePlus CPH2399
This crash happen after I pushed on "open URLs in a custom tab..." in settings
The text was updated successfully, but these errors were encountered: