- Ensured that malformed or incomplete data saved to disk does not result in an exception when attempting to restore state.
- Improve thread-safety to avoid rare NullPointerException.
Bridge
now depends on AndroidX rather than the support libraries.
- Prevented
CancellationException
that might result due to a rare race condition on startup.
- Reduced memory usage when processing data by skipping Base64-encoding step and using custom file storage.
- Improved performance when processing Bitmap objects by avoiding compression.
- Fixed bug preventing data from being properly cleared internally during configuration changes.
- Fixed bug resulting in non-launcher intents (such as deep links) sometimes unnecessarily clearing saved data.
Bridge
can now save the state ofView
objects. You may now optionally provide aViewSavedStateHandler
toBridge.initialize
in order to unlock this functionality.- Improved performance during configuration changes and when navigating while apps are in the foreground.
Bridge.clear
is now safe to call inActivity.onDestroy
when "Don't Keep Activities" is enabled.- All data is now correctly cleared on fresh launches for apps that do not use
Bridge
in everyActivity
. - Min SDK is now 14.
- Data will no longer be automatically cleared for objects that go out of memory while an app is running. It is now more strongly recommended to use the
clear
method to manually delete data for objects in the process of being discarded.
- Fixed
clear
behavior for a removedFragment
in the backstack.
- Added support for saving Bitmaps.
- Improved automatic clearing of old data.
- Added
clear
method for manually clearing data from disk for a given object. - Added
clearAll
method for manually clearing all data from disk associated withBridge
.
Initial release.