fune/mobile/android/android-components/components/browser/session-storage
Grisha Kruglov 14a116801f [components] Support for tracking external sources
Mainly, does two things:
- refactors SessionState.Source into a richer form (splitting sources
  into Internal and External, where External ones track information
  about originating package)
- adds persistence of External sources into tab session state; we don't
  want to persist Internal sources as that was explicitly removed before
  for causing various issues (e.g. UI behaving incorrectly after
  restoring tabs with various internal sources set)
2021-08-05 11:47:54 -07:00
..
src [components] Support for tracking external sources 2021-08-05 11:47:54 -07:00
build.gradle [components] Complete migration from browser-session to browser-state. 2021-06-08 14:44:09 +00:00
proguard-rules.pro [components] Closes https://github.com/mozilla-mobile/android-components/issues/9183, https://github.com/mozilla-mobile/android-components/issues/9199: Move SessionStorage from browser-session to browser-session-storage. 2021-01-05 12:16:46 +00:00
README.md [components] Closes https://github.com/mozilla-mobile/android-components/issues/9183, https://github.com/mozilla-mobile/android-components/issues/9199: Move SessionStorage from browser-session to browser-session-storage. 2021-01-05 12:16:46 +00:00

Android Components > Browser > Session-Storage

This component offers mechanisms for saving and restoring a browsing session.

Usage

Setting up the dependency

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

implementation "org.mozilla.components:browser-session-storage:{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/