widget setup

This commit is contained in:
55nknown 2022-11-20 21:02:32 +01:00
parent 30ac155b4b
commit 64868e85f3
4 changed files with 32 additions and 2 deletions

View File

@ -18,6 +18,35 @@
</intent-filter>
</activity>
<meta-data android:name="flutterEmbedding" android:value="2" />
<receiver android:name=".WidgetTimetable.widget_timetable"
android:exported="true">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
<action android:name="list_widget.ACTION_WIDGET_CLICK_NAV_LEFT" />
<action android:name="list_widget.ACTION_WIDGET_CLICK_NAV_RIGHT" />
<action android:name="list_widget.ACTION_WIDGET_CLICK_NAV_TODAY" />
<action android:name="list_widget.ACTION_WIDGET_CLICK_NAV_REFRESH" />
</intent-filter>
<meta-data
android:name="android.appwidget.provider"
android:resource="@xml/home_widget_test_info" />
</receiver>
<service android:name=".WidgetTimetable.widget_timetable_service"
android:permission="android.permission.BIND_REMOTEVIEWS" />
<!-- Used for Background Work -->
<receiver android:name="es.antonborri.home_widget.HomeWidgetBackgroundReceiver"
android:exported="true">
<intent-filter>
<action android:name="es.antonborri.home_widget.action.BACKGROUND" />
</intent-filter>
</receiver>
<service android:name="es.antonborri.home_widget.HomeWidgetBackgroundService"
android:permission="android.permission.BIND_JOB_SERVICE" android:exported="true" />
</application>
<!-- Permissions -->

View File

@ -61,6 +61,7 @@ dependencies:
ref: master
uni_links: ^0.5.1
url_launcher: ^6.1.6
workmanager: ^0.5.1
dev_dependencies:
flutter_lints: ^2.0.1

@ -1 +1 @@
Subproject commit 8dca7bf10124b2eae89441f9defc506a7127755c
Subproject commit 77fb743f59b0f2ec14ba64f3652abcd145f575a3

@ -1 +1 @@
Subproject commit fbe173d323a88d5860dcc93a26c7bc9e77d258cf
Subproject commit 0036374928824aff4ba86db8dd8571fb95e0057e