Trail-Sense
Trail-Sense copied to clipboard
Tool registry
A way to add new tools without all the boilerplate.
- [x] Register tool (shows up in tools list)
- [x] Register quick action (available everywhere)
- [x] Register guide
- [x] Register quick setting tile
- [x] Register settings
- [x] Register volume shortcut (can be used to prevent volume actions while on the tool)
- [x] Register background service (for the battery tool)
- [x] Register notification channels
- [ ] Register diagnostics
This should also more easily allow me to move tools to a separate module or load a plugin in the future.
The initial implementation of this can just be a configuration object, but in the future it can be decoupled.