Android home-screen widget: top-3 next actions (4x2 'Next up' card) — tap the priority ring to complete via the offline queue, rows deep-link to Clarify, + opens capture; redraws on every store change plus a 30-min self-refresh
Some checks failed
Build & Release APK / build (push) Failing after 24s
Some checks failed
Build & Release APK / build (push) Failing after 24s
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
10
app/index.js
Normal file
10
app/index.js
Normal file
@@ -0,0 +1,10 @@
|
||||
// Custom entry: register the widget's headless task handler before the app
|
||||
// starts, so widget events work even when the app UI never mounts.
|
||||
import "expo-router/entry";
|
||||
import { Platform } from "react-native";
|
||||
import { registerWidgetTaskHandler } from "react-native-android-widget";
|
||||
import { widgetTaskHandler } from "./src/widget/widget-task-handler";
|
||||
|
||||
if (Platform.OS === "android") {
|
||||
registerWidgetTaskHandler(widgetTaskHandler);
|
||||
}
|
||||
Reference in New Issue
Block a user