Routing and Screens
App Blocker Screen
App/website selection with AppListerModule native bridge and search.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
App/website selection with AppListerModule native bridge and search.
| Tab | Source | Purpose |
|---|---|---|
| Apps | AppListerModule native bridge | Lists all installed apps on the device with icons and package names |
| Websites | Manual input | Text input for adding website URLs to the blocklist |
| Search | Routes to searchpac.tsx | Full-text search across installed packages |
const { apps } = useAppDiscovery();
// Returns: [{ packageName: "com.instagram.android", label: "Instagram", icon: "base64..." }, ...]
setSlotBlocklist(slotIndex, {
apps: ["com.instagram.android", "com.twitter.android"],
websites: ["youtube.com", "reddit.com"],
id: presetId // Optional: reference to saved preset
});