widgets_kit 0.1.1
widgets_kit: ^0.1.1 copied to clipboard
Send data from Flutter to native home screen widgets on Android, iOS and macOS, update them, and handle taps with Dart code.
0.1.1 #
- Added macOS support through WidgetKit: saving and reading data in an app group, reloading widgets, listing installed widgets, and widget taps through
widgetClicked. - Added Windows and Linux support for data:
saveWidgetData,getWidgetData,saveFile,saveImageandrenderFlutterWidgetkeep their data inwidget_data.jsonin the app support directory. Widget refresh is not available there. - Added the web as a safe no-op. Calls return a default (
false,null, or an empty list) and nothing reaches a platform channel. - Added
WidgetsKit.isSupported, which istrueon Android, iOS and macOS. saveFile,saveImageandrenderFlutterWidgetthrow anUnsupportedErrorwhere there is no widget system and no storage, which is the web.- Replaced
dart:ioPlatformuse in the plugin withdefaultTargetPlatformso it is web-safe. - Added an Android home screen screenshot.
- The example app now builds for macOS and the web, and has a macOS integration test.
0.1.0 #
- Initial release of widgets_kit, a fork of home_widget 0.10.0 by Anton Borries (BSD-3-Clause).
- Renamed the package, the Dart API (
HomeWidgetis nowWidgetsKit), the Android package (com.widgetskit.widgets_kit), the iOS plugin and the method channels, so it can be installed beside home_widget. - Removed the CLI and generator packages. Only the core plugin is included.
- Fixed
saveWidgetDataon Android: the disk write no longer runs on the platform main thread, which could cause ANRs, and an unsupported value type no longer replies twice. - Fixed Android background callbacks not starting when the work resumes in a process where the Flutter loader was never initialised.
- Fixed
registerInteractivityCallbackcrashing the app on Android and iOS when given a closure or instance method. Dart now throws anArgumentError, and both native sides return an error instead of force-casting anullhandle. - The background dispatcher no longer throws when a stored callback handle can no longer be resolved.
Upstream history (home_widget) #
The entries below are home_widget's own changelog up to the fork point. Names in them refer to the original package.
0.10.0 #
Note: This release has breaking changes.
0.9.4 #
0.9.2 #
0.9.1 #
0.9.0 #
Note: This release has breaking changes. See the migration guide for details on how to migrate.
- FIX: Fix Xcode 26 support for interactive Widgets (#391). (35047c6a)
- FIX: Fix iOS Widget Updating using only
nameparameter (#381). (77919dbb) - BREAKING FIX: Add missing package name to HomeWidget Glance files (#365). (caf6a1fe)
- BREAKING FEAT: Add support for Swift Package Manager (#393). (8d3c1ddf)
- BREAKING CHORE: Upgrade to melos 7.0.0 (#382). (66bffb17)
0.8.1 #
0.8.0 #
Note: This release has breaking changes.
0.7.0+1 #
0.7.0 #
0.6.0 #
- Require Flutter 3.20+ due to changes in
ViewConfiguration
0.5.0 #
Breaking Changes
- The package now uses a library pattern so you should only import
'package:home_widget/home_widget.dart'
New Features
- Jetpack Glance Support
- Support
requestPinWidgeton Android - Support getting Information about Widgets Users have currently added to their Home and Lock Screens
- Support saving
Uint8Liston iOS
Fixes
- iOS Background Work not working when App was fully closed
- Launching the App on Android 14+
- iOS not compiling when using interactive Widgets with Flutter 3.19+
0.4.0 #
- Add support for Interactive Widgets on iOS
- Rename
registerBackgroundCallbacktoregisterInteractivityCallback - Restructure README
0.3.1 #
- fix: Fix Null Pointer when Saving
renderFlutterWidgetby milindgoel15 in #182 - fix: Update Gradle to 8 by milindgoel15 in #155
- docs: Fix syntax error in readme code example by mattrltrent in #154
- fix: Handle null check on Android when checking CallbackInformation by eliasto in #172
0.3.0 #
- Add
renderFlutterWidgetmethod to save a Flutter Widget as an Image #126 by leighajarett
0.2.1 #
- Update Gradle and Kotlin Versions
- Update to support Flutter 3.10
0.2.0+1 #
- Fix example annotation #115 by ColinSchmale
0.2.0 #
- Fix missing
@pragma("vm:entry-point")for Background Callbacks #99 by linziyou0601 - Update HomeWidgetBackgroundService.kt #98 by roly151
- README Improvements by aaronkelton and hadysata
0.1.6 #
- Allow the specification of fully qualified android name #62 by NicolaVerbeeck
Fixes #
- Fix paths in README #73 by AndyRusso
- Migrate example to Android embedding v2 #80 by ronnieeeeee
- Fix onNewIntent in Flutter 3 #84 by josepedromonteiro and stepushchik-denis-gismart
0.1.4 #
- Fix
HomeWidget.updateWidgetnot completing on iOS #26 - Fix casting Error on Registering Background Callback #31 by aljkor
- Fix collision for Deeplinks #42 by mgonzalezc
- Make Android PendingIntents immutable for Android 12 #49 by mgonzalezc
- Update Gradle Versions and target Android SDK 31
- Fix Issues relating to
initiallyLaunchedFromHomeWidget
0.1.3 #
- Add GitHub Actions, Tests and Integration Tests to ensure further quality
- Fix double and null handling on Android
- Fix HomeWidget.updateWidget not completing on Android #26
0.1.2 #
- Add Click Listeners
- Detect if App has been launched via a view from the HomeScreen Widget
- Execute Background Dart Code when clicking on a view in HomeScreen Widget [Android only]
0.1.1+2 #
- Set sdk bound correctly
- Workaround for analysis_options import error
- Cleanup Example
0.1.0+1 #
- More general Dart SDK Fixes Pub Score
- Add Pub Score and Like Badges
0.1.0 #
- Migrate HomeWidget to nullsafety.
0.0.2 #
- Background Updates
- Add Paragraph on explaining background updates
- Extend example to include background updates using flutter_workmanager
0.0.1+4 #
- Use absolute Image path to show images on pub.dev
0.0.1+3 #
- Compressed iOS and Android demo images in Readme (#16)
- Add README Entry to sync CFBundleVersion (#13)
- Format Examples into table (#10)
- Fix Build Error (#12)
0.0.1+2 #
- Add more documentation to README
0.0.1+1 #
- Add Images to README
0.0.1 #
- Initial Release of HomeWidget
