- 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.
Bridgenow depends on AndroidX rather than the support libraries.
- Prevented
CancellationExceptionthat 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.
Bridgecan now save the state ofViewobjects. You may now optionally provide aViewSavedStateHandlertoBridge.initializein order to unlock this functionality.- Improved performance during configuration changes and when navigating while apps are in the foreground.
Bridge.clearis now safe to call inActivity.onDestroywhen "Don't Keep Activities" is enabled.- All data is now correctly cleared on fresh launches for apps that do not use
Bridgein 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
clearmethod to manually delete data for objects in the process of being discarded.
- Fixed
clearbehavior for a removedFragmentin the backstack.
- Added support for saving Bitmaps.
- Improved automatic clearing of old data.
- Added
clearmethod for manually clearing data from disk for a given object. - Added
clearAllmethod for manually clearing all data from disk associated withBridge.
Initial release.