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

bug: Phone still goes to sleep after using keepAwake() funciton #43

Closed
oneStopAiNz opened this issue Dec 24, 2023 · 5 comments
Closed
Labels

Comments

@oneStopAiNz
Copy link

Plugin version:
@capacitor-community/[email protected]

Platform(s):
Android App
Android Web
IOS ( Untested)

Current behavior:
The phone still goes to sleep and locks al though I have used the function
await KeepAwake.keepAwake();

Expected behavior:

Steps to reproduce:

Related code:

insert short code snippets here

Other information:

Capacitor doctor:

insert the output from `npx cap doctor` here
@robingenz
Copy link
Member

Thank you for your request.
Please provide a Minimal, Reproducible Example using this template in a public GitHub repository so I can debug the issue.

@oneStopAiNz
Copy link
Author

Thank you for the swift reply I am currently building a test app to reproduce the issue :)

@oneStopAiNz oneStopAiNz closed this as not planned Won't fix, can't repro, duplicate, stale Dec 24, 2023
@oneStopAiNz oneStopAiNz reopened this Dec 24, 2023
@oneStopAiNz
Copy link
Author

Thank you for the swift reply , I am creating a test app following the template for you to be able to reproduce the problem 👍

@robingenz robingenz added needs: reply bug/fix Something isn't working labels Dec 24, 2023
@oneStopAiNz
Copy link
Author

Hi @robingenz :)

After isolating the problem in a repro example I was able to fix the issue, thank you for your time and efforts. I wish you a very happy holiday season. Seems like you are working through some of it as I am XD
https://github.com/oneStopAiNz/keepAwakeDiagnostic

@robingenz
Copy link
Member

I'm glad that you figured it out. Happy holidays!

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants