zulip / zulip-mobile

Zulip mobile apps for Android and iOS.
https://zulip.com/apps/
Apache License 2.0
1.28k stars 642 forks source link

Support disabling Chrome Custom Tabs #3478

Open yodaldevoid opened 5 years ago

yodaldevoid commented 5 years ago

Some users (myself included) prefer not to use Chrome and would rather links never go to Chrome in the first place. As the option to disable Chrome Custom Tabs is a per-application option, the Zulip app should provide an option to not use Chrome Custom Tabs on Android.

jainkuniya commented 5 years ago

Yup! sometimes I too feels the requirement of this. This should a straight forward.

borisyankov commented 5 years ago

@jainkuniya I am removing the bite size tag as I don't think this is as simple to implement.

We should consider:

borisyankov commented 5 years ago

@yodaldevoid what are your motivation for needing this feature?

Do you have another, non-Chrome browser that you want to use? Is it something against Google/Chrome? (so you really don't ever want Chrome used by the app) Is it just that you want the link to be opened in a real (default) browser, not inside the app?

The solution will definitely vary depending on what is the problem we are trying to solve.

yodaldevoid commented 5 years ago

@borisyankov Looking into this further, it seems I was slightly mistaken about how Chrome Custom Tabs (CCTs) work. They function by providing an in-app browser utilizing the default browser, be that Chrome, Firefox, or what have you. Because of this, one of the possible complaints of CCTs (the fact that links are getting opened in Chrome to begin with rather than my default browser) is moot.

Personally, I use Firefox everywhere and having the page load up in a CCT slows me down when I really want it opened up in full Firefox. Honestly, I don't mind CCTs getting opened, but it does get annoying when I'm opening a series of links (say, to open a bunch of relevant issues on Github that have been linked to in a thread) where without CCTs being used the links would be sent off to my browser in the background for me to look at when I want.

What I would like to see is a toggle that disables the use of CCTs. Discord has this in a app-specific category in their settings, as does Slack under advanced.