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

fix(web): support for App 'appStateChange' event #1715

Merged
merged 1 commit into from
Jun 28, 2019
Merged

fix(web): support for App 'appStateChange' event #1715

merged 1 commit into from
Jun 28, 2019

Conversation

naranjamecanica
Copy link
Contributor

Today I've started to use Capacitor and I like the fact that I can use the web plug-ins to simplify our codebase. The 'appStateChange' event was not working in the web environment, so I've added it by listening to 'visibilitychange' on the document.

Since it's my first hours with the project, I don't know if I put it in the right spot...

Copy link
Member

@jcesarmobile jcesarmobile left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome PR, thanks!

@jcesarmobile jcesarmobile changed the title [web] Added support for App event 'appStateChange' using visibilitychange fix(web): support for App 'appStateChange' event Jun 28, 2019
@jcesarmobile jcesarmobile merged commit 80cd214 into ionic-team:master Jun 28, 2019
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

Successfully merging this pull request may close these issues.

2 participants