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

feat: add isKeptAwake method #17

Closed
robingenz opened this issue Apr 30, 2021 · 5 comments · Fixed by #38
Closed

feat: add isKeptAwake method #17

robingenz opened this issue Apr 30, 2021 · 5 comments · Fixed by #38
Labels
feature Feature good first issue Good for newcomers

Comments

@robingenz
Copy link
Member

Is your feature request related to a problem? Please describe.
Currently there is no way to check if the device is kept awake.

Describe the solution you'd like
Add isKeptAwake method.

Describe alternatives you've considered
No alternative solutions.

Additional context

@jansgescheit
Copy link

@robingenz is there any release date for this feature?

@robingenz
Copy link
Member Author

@jansgescheit This feature will be officially released with Capacitor 5 support.

This is an untested development version for Capacitor 4 that you can try:

npm i @capacitor-community/keep-awake@3.0.0-dev.a4d5a8d.1683032576

@jansgescheit
Copy link

hmm too bad. I don't necessarily want to upgrade to Capacitor 5 for this feature - since there are no dependencies to Capacitor 5 in my eyes. Then I will solve this somehow differently.

@robingenz
Copy link
Member Author

@jansgescheit What is wrong with the dev version? It supports Capacitor 4.

@jansgescheit
Copy link

@robingenz Probably nothing, but I don't want to use a dev version for production apps. I had been looking forward to this because the readme already praises this feature, but it is not included.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature Feature good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants