android-components icon indicating copy to clipboard operation
android-components copied to clipboard

Add Cliqz search engine

Open sammacbeth opened this issue 6 years ago • 7 comments

We'd like to add the new Cliqz search (https://beta.cliqz.com/) to the browser search component. I have the Search Engine xml already, and can make a pull request here. However, looking at https://github.com/mozilla-mobile/fenix/issues/6480 it seems it may be preferable to add this in mozilla-central/mobile. Please advise what the preferred process is.

┆Issue is synchronized with this Jira Task

sammacbeth avatar Dec 17 '19 12:12 sammacbeth

Since Fennec is no longer in mozilla-central, I think we do not need to update mozilla-central anymore. In fact we recently added ecosia and we only did this here in AC. Initially we only copied over what was in mozilla-central and didn't want to maintain that state here manually. However now mozilla-central is not used anymore and this here is the source of truth for all our mobile projects. :)

pocmo avatar Dec 17 '19 12:12 pocmo

Great, so would it be ok if I made a PR to add Cliqz to the list, and to the short list for regions we have an index for? Is there a policy for the ordering of entries in the search engine list?

sammacbeth avatar Dec 17 '19 13:12 sammacbeth

I think adding the individual plugin XML file is fine.

However changing list.json is more complicated since it is the source of truth for all Mozilla browsers and that is maintained by our partner and distribution team (CC @mkaply).

Note that for individual apps you can always instruct the search engine manager to load/filter additional plugins as needed. Here are some examples:

  • Focus adds "duckduckgo" everywhere and removes Bing: https://github.com/mozilla-mobile/focus-android/blob/master/app/src/main/java/org/mozilla/focus/Components.kt#L37-L44
  • Firefox for Fire TV has a more complex SearchEngineProvider implementation that rearranges the list it gets: https://github.com/mozilla-mobile/firefox-tv/blob/master/app/src/main/java/org/mozilla/tv/firefox/search/SearchEngineProviderWrapper.kt

pocmo avatar Dec 17 '19 13:12 pocmo

I've added the XML file in #5364. If you could advise where might be best to start a discussion about possible inclusion in the visible search engine list for certain locales that would be much appreciated.

sammacbeth avatar Dec 19 '19 13:12 sammacbeth

Hi Sam, typically a request for inclusion from a commercial provider would start with a discussion with our business team. I'm sure those folks know each other already, so that should start there.

Sebastian, before we accept this PR, we will need to draft a policy (and have Legal sign off) for including search plugins in A-C. Obviously it's not quite the same as inclusion into our products, but there's a bunch of considerations we need to make around how we make these plugins available to third parties. I don't think this is a burning issue, maybe it's something we can work through in Berlin?

mconnormoz avatar Jan 09 '20 22:01 mconnormoz

@mconnormoz Thanks for your reply. We will start the discussion with the business team then!

sammacbeth avatar Jan 16 '20 13:01 sammacbeth

:(

pocmo avatar May 07 '20 17:05 pocmo