diff --git a/app_widget_platform_interface/CHANGELOG.md b/app_widget_platform_interface/CHANGELOG.md index 969ae86..04a74ec 100644 --- a/app_widget_platform_interface/CHANGELOG.md +++ b/app_widget_platform_interface/CHANGELOG.md @@ -1,6 +1,10 @@ +## 0.4.0 +* breaking changes: `configureWidget` and `updateWidget` accept `layoutId` instead of `layoutName` + ## 0.3.1 * update platform interface version + ## 0.3.0 * support dart sdk 4.0 diff --git a/app_widget_platform_interface/lib/src/app_widget_platform.dart b/app_widget_platform_interface/lib/src/app_widget_platform.dart index 255606f..64f34b6 100644 --- a/app_widget_platform_interface/lib/src/app_widget_platform.dart +++ b/app_widget_platform_interface/lib/src/app_widget_platform.dart @@ -34,7 +34,7 @@ abstract class AppWidgetPlatform extends PlatformInterface { Future configureWidget({ String? androidPackageName, int? widgetId, - String? widgetLayout, + int? layoutId, Map? textViews, String? payload, String? url, @@ -52,7 +52,7 @@ abstract class AppWidgetPlatform extends PlatformInterface { Future updateWidget({ String? androidPackageName, int? widgetId, - String? widgetLayout, + int? layoutId, Map? textViews, String? payload, String? url, diff --git a/app_widget_platform_interface/pubspec.yaml b/app_widget_platform_interface/pubspec.yaml index b101be4..63f2243 100644 --- a/app_widget_platform_interface/pubspec.yaml +++ b/app_widget_platform_interface/pubspec.yaml @@ -1,6 +1,6 @@ name: app_widget_platform_interface description: Common platform interface for app_widget plugin. -version: 0.3.1 +version: 0.4.0 homepage: https://noxasch.tech/ repository: https://github.com/noxasch/flutter_app_widget/tree/master/app_widget_platform_interface issue_tracker: https://github.com/noxasch/flutter_app_widget/issues