forked from mirrors/gecko-dev
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) |
||
|---|---|---|
| .. | ||
| src | ||
| build.gradle | ||
| proguard-rules.pro | ||
| README.md | ||
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/