home-assistant / home-assistant/android

Start Websocket worker when notification is approved on minimal

Open
#6,583 0 comments 0 reactions 0 assignees View on GitHub
WebViewActivity replacement
Dominant language
Kotlin
Stars
3.9k
Forks
1.1k
Avg merge
1d 12h
Merged PRs (30d)
81

Description

### Description

Based on this comment https://github.com/home-assistant/android/pull/6440#discussion_r2943114676 we could automatically start the worker when in minimal flavor so we can directly receive notification right away without waiting for the activity to start the worker.

### Additional context

We don't want the context within the PermissionManager so we could inject the WorkerManager and make an extension to start the WebSocketManager.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.