Files
tubestation/mobile/android/android-components/components/browser/search
Sebastian Kaspari bed685b995 [components] Issue https://github.com/mozilla-mobile/android-components/issues/8791: SearchMiddleware: Add mechanism for migrating legacy data from app
This allows Fenix to pass its existing search engine selection and custom search engines to us and then
we can import them into our storage.

Eventually I expect this code to go away again. It's to be define how many versions we will have to
wait.

So far this does not migrate shown/hidden search engines. This turned out to be more complex since Fenix
saves multiple configurations based on locale and region. So it is not as straight-forward to figure out
which one to use.
2020-11-11 11:54:08 +01:00
..

Android Components > Browser > Search

Search plugins and companion code to load, parse and use them.

Usage

Setting up the dependency

Use Gradle to download the library from maven.mozilla.org (Setup repository):

implementation "org.mozilla.components:browser-search:{latest-version}"

License

This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/