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.
- 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
targetCellWidth
andtargetCellHeight
options in config plugin
- Fix crash on Android 6 when
clickAction
is present in the widget clickAction
now works only from Android 7 and up
- Handle cached image file import in expo
requestWidgetUpdateById
function 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
overflow
prop toFlexWidget
andOverlapWidget
that can be used to clip the view if it has border radius
- Added
allowFontScaling
prop toTextWidget
to specify whether fonts should scale to respect Text Size accessibility settings
- Fix compatibility with React Native < 71
- Use
DefaultReactActivityDelegate
instead 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_UPDATE
widgetAction on scheduled update - Widget task handler called with
WIDGET_DELETED
when the widget is removed from the home screen - Widget taks handler called with
WIDGET_RESIZED
on 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
ListWidget
do not haveclickAction
andclickActionData
- Set default
height
andwidth
onListWidget
tomatch_parent
- Don't call widget handler when clicking on a list item without
clickAction
- Fixed crash when adding widget next to Array.map
- Added
ListWidget
that 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 inmyapp
if deep linking is configured
- Fixed an issue where clicking on a widget with nested
clickAction
was 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
widgetNotFound
inrequestWidgetUpdate
- Exposed
getWidgetInfo
function that returns a list of widgets added on the home screen
- Fixed an issue for
FlexWidget
when usingjustifyContent
with value'space-around', 'space-between', 'space-evenly'
with only one child - Fixed how font files are loaded from
AssetManager
- Initial Release