fenix icon indicating copy to clipboard operation
fenix copied to clipboard

As a User I want my default search provider to be based on my country or locale

Open st3fan opened this issue 7 years ago • 9 comments

Why/User Benefit/User Problem

What / Requirements

Acceptance Criteria (how do I know when I’m done?)

┆Issue is synchronized with this Jira Task

st3fan avatar Mar 02 '19 00:03 st3fan

Asking @mconnormoz for feedback on specifics about the country or locale part here. We do something in Android Components that I think we are happy with for Focus, but I'd like to confirm that.

st3fan avatar Mar 02 '19 00:03 st3fan

At a high level, we're looking to move to country > locale for a bunch of reasons. But we can handle that on the AC side here: https://github.com/mozilla-mobile/android-components/issues/1720

mconnormoz avatar Mar 05 '19 15:03 mconnormoz

As of now, we will get search engines using the locale from the system for free using the AC SearchEngineManager. If we want to discuss more accurate location, I think this should be on the AC side for the future.

ekager avatar Mar 12 '19 20:03 ekager

@mconnormoz - can you please let us know if that works for MVP (see Emily's last comment)?

bbinto avatar Mar 13 '19 18:03 bbinto

Yes, @st3fan added our regional testing requirements to the epic (#226 )

mconnormoz avatar Mar 13 '19 20:03 mconnormoz

I've verified the Russian, Turkish and Chinese locales. The default search engine is changed only on the TR locale, to Yandex. On the other locales, the search engines list is updated but the Google default is kept. devices: Pixel (Android 9), Samsung S8 (Android 8), Nexus 5(Android 6)

sv-ohorvath avatar Mar 15 '19 08:03 sv-ohorvath

@sv-ohorvath If you're getting Google for Russia but Yandex for Turkish, something isn't quite right.

@pocmo how can a tester see what region is being detected by AC? is that currently possible?

mconnormoz avatar Mar 15 '19 15:03 mconnormoz

As discussed in Slack, we need to update the list.json and use the new searchDefault field for these all to be correct. This work will be completed in AC and will not require work on the Fenix side. https://github.com/mozilla-mobile/android-components/issues/2371

ekager avatar Mar 15 '19 21:03 ekager

Closing this issue if there is no more work to be done here. Thanks @ekager !

sv-ohorvath avatar Mar 18 '19 08:03 sv-ohorvath