All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Add
lineHeightandlineSpacingExtrastyle props toTextWidget - Add
resizeModeprop toImageWidget
- Fix crash when deleting widgets if stored widget images cannot be listed
- Match clickable view ripple corners to uniform
borderRadiuson Android 12+. - Use expedited WorkManager requests for widget background tasks on Android 12+ to reduce delays when the app is in the background, with fallback to regular work when expedited quota is exhausted.
- Added missing app.plugin.js
- renderWidget from WidgetConfigurationScreenProps does not update the widget
- Compatibility with older react native versions
- Accessibility (TalkBack) support
- Added support for dark mode widgets
- Support for React Native 0.83
- Update example app to React Native 0.83
- Update expo example app to Expo 55 canary
- Add a error message about using React Compiler and how to avoid "Invalid hook call" error
- Update example app to React Native 0.81
- Update expo example app to Expo 54
- Add null check for bitmap in list
packageNameoption for defining custom package name for widget- Ability to request widget update from native code (
RNWidgetJsCommunication#requestWidgetUpdate)
- NullPointerException in some cases in ImageWidget
- Support for React Native 0.79
- Working with new architecture
- Support for React Native 0.76
- Dropped support for React Native <0.76. For older versions use 0.14.2
- Not working with new architecture
- Fix crash on API 22 & 23
- Fix order in which clickable views are created
targetCellWidthandtargetCellHeightoptions in config plugin
- Fix crash on Android 6 when
clickActionis present in the widget clickActionnow works only from Android 7 and up
- Handle cached image file import in expo
requestWidgetUpdateByIdfunction to update single widget
- Support for network svg images in
SvgWidget
- Fix layout when scrolling items with different size in
ListWidget
- Allow clickable views inside list items on Samsung devices
- Allow clickable views inside list items
- Increased background task timeout to 30s
- Added
overflowprop toFlexWidgetandOverlapWidgetthat can be used to clip the view if it has border radius
- Added
allowFontScalingprop toTextWidgetto specify whether fonts should scale to respect Text Size accessibility settings
- Fix compatibility with React Native < 71
- Use
DefaultReactActivityDelegateinstead ofReactActivityDelegate - Fix compatibility with React Native 71
- Ability to configure (and reconfigure) widget once it is added on home screen
- Upgrade to React Native 0.72.3
- Upgrade to Expo 49
- Fix crash on Android <12 when using click action
- Crop widget when reported and actual size are different on some launchers, instead of scaling because click targets are missaligned when scaling
- Schedule widget updates with
updatePeriodMillis - Widget task handler called with
WIDGET_UPDATEwidgetAction on scheduled update - Widget task handler called with
WIDGET_DELETEDwhen the widget is removed from the home screen - Widget taks handler called with
WIDGET_RESIZEDon resize, without needing to click on it again
- Removed "Click to update widget" text and requirement to click on a widget before update
- Adding/resizing works now without requiring a widget click
- Requirement for
android.permission.FOREGROUND_SERVICE - Removed
RNWidgetBackgroundTaskService. For bare React Native it should be removed from AndroidManifest. Expo build are handled with the app plugin
- Log native error in WidgetPreview
- Fixed crash when items in
ListWidgetdo not haveclickActionandclickActionData - Set default
heightandwidthonListWidgettomatch_parent - Don't call widget handler when clicking on a list item without
clickAction
- Fixed crash when adding widget next to Array.map
- Added
ListWidgetthat can show a scrollable list of items
- Fix crash on iOS due to linking check
- Setting
clickAction="OPEN_APP"on a widget primitive will open the app when clicked - Setting
clickAction="OPEN_URI" clickActionData={{ uri: 'https://google.com' }}on a widget primitive will open google in web browser - Setting
clickAction="OPEN_URI" clickActionData={{ uri: 'myapp://deep-link' }}on a widget primitive will open the deep link inmyappif deep linking is configured
- Fixed an issue where clicking on a widget with nested
clickActionwas triggering the topmost one, instead of the one directly under the clicked area
- Upgrade to React Native 0.71.3
- Upgrade to Expo 48
- Optional callback
widgetNotFoundinrequestWidgetUpdate - Exposed
getWidgetInfofunction that returns a list of widgets added on the home screen
- Fixed an issue for
FlexWidgetwhen usingjustifyContentwith value'space-around', 'space-between', 'space-evenly'with only one child - Fixed how font files are loaded from
AssetManager
- Initial Release