Skip to content
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

Cannot find name 'BackgroundMode'. with ionic #568

Open
muhammadtalhaishtiaq opened this issue Jun 20, 2022 · 1 comment
Open

Cannot find name 'BackgroundMode'. with ionic #568

muhammadtalhaishtiaq opened this issue Jun 20, 2022 · 1 comment

Comments

@muhammadtalhaishtiaq
Copy link

I have added backroundMode module in module.ts and using in component.ts to get it in the whole app.
But when I run
ionic cordova build android
I'm seeing the following error

image

@alicarlo
Copy link

importing it in app.module.ts should be enough, I think this way works until angular 10, is your project with angular?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants