Skip to content

Manually Invoke ngZone Change Detection with Capacitor Background Task Plugin #234

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
seanwu1105 opened this issue Nov 19, 2020 · 1 comment
Labels
code Improvements to code quality or project architecture
Milestone

Comments

@seanwu1105
Copy link
Contributor

seanwu1105 commented Nov 19, 2020

UPDATE: Capacitor BackgroundTask plugin will be removed for next major release. Thus, it would be useless to try this solution.

Currently, we remove almost all uses of BackgroundTask Capacitor Plugin as it will not automatically trigger the zgZone change detection. We need to find a way to manually trigger the mechanism.

A possible solution could be found here.

@seanwu1105 seanwu1105 added the code Improvements to code quality or project architecture label Nov 19, 2020
@seanwu1105 seanwu1105 added this to the backlog milestone Nov 19, 2020
@seanwu1105 seanwu1105 modified the milestones: backlog, Beta7.2 Nov 27, 2020
@seanwu1105
Copy link
Contributor Author

Close this issue as Capacitor background task plugin will be dropped after next major release. We need to find another solution to this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code Improvements to code quality or project architecture
Projects
None yet
Development

No branches or pull requests

1 participant