Skip to content

[feat] Background notifications #56

@micahlt

Description

@micahlt

At the moment, message notifications only fire when the app is open. This is because the request is being made with the Capacitor Local Notifications plugin which is controlled via JavaScript, which only runs when the app is in the foreground. The solution to this problem would be to write an Android Service to fetch messages periodically in the background, or even better a WorkManager since it's the new standard and is battery-efficient.

This really should be worked on before release to Google Play since the current experience is very unpolished. @locness3 do you have any experience with Java? I know you've mentioned creating a native app before.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions