File tree Expand file tree Collapse file tree 5 files changed +7
-7
lines changed
Expand file tree Collapse file tree 5 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1+ ## 0.2.2
2+
3+ * fix(android): ` reloadWidgets ` to use initialized ` androidPackageName `
4+
15## 0.2.1
26
37* fix(android): onClickWidget callback should be independent on each widget
Original file line number Diff line number Diff line change @@ -209,8 +209,6 @@ await appWidgetPlugin.configureWidget(...)
209209#### handling onConfigureWidget
210210
211211``` dart
212- // @pragma('vm:entry-point') anonnotate is to indicate thate the method may be invoked directly from native
213- // More info: https://github.com/dart-lang/sdk/blob/master/runtime/docs/compiler/aot/entry_point_pragma.md
214212// this method can be declare as a top level function or inside a widget as a member function
215213@pragma('vm:entry-point')
216214void onConfigureWidget(int widgetId) async {
@@ -251,7 +249,6 @@ await appWidgetPlugin.cancelConfigure()
251249
252250``` dart
253251// this method can be declare as a top level function or inside a widget
254- @pragma('vm:entry-point')
255252void onClickWidget(String? payload) {
256253 // handle click widget event
257254 // eg:
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ packages:
77 path: ".."
88 relative: true
99 source: path
10- version: "0.2.1 "
10+ version: "0.2.2 "
1111 app_widget_android:
1212 dependency: transitive
1313 description:
Original file line number Diff line number Diff line change @@ -143,10 +143,9 @@ class AppWidgetPlugin {
143143 ///
144144 Future <bool ?> reloadWidgets ({
145145 String ? androidProviderName,
146- String ? androidPackageName,
147146 }) async {
148147 return AppWidgetPlatform .instance.reloadWidgets (
149- androidPackageName: androidPackageName ,
148+ androidPackageName: _androidPackageName ,
150149 androidProviderName: androidProviderName,
151150 );
152151 }
Original file line number Diff line number Diff line change 11name : app_widget
22description : Flutter plugin to manage app widget / home screen widget from within flutter app.
3- version : 0.2.1
3+ version : 0.2.2
44homepage : https://noxasch.tech/
55repository : https://github.com/noxasch/flutter_app_widget/tree/master/app_widget
66issue_tracker : https://github.com/noxasch/flutter_app_widget/issues
You can’t perform that action at this time.
0 commit comments