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

Unable to Answer Calls with Locked Device #433

Open
viniciusoliverrs opened this issue Apr 23, 2024 · 5 comments
Open

Unable to Answer Calls with Locked Device #433

viniciusoliverrs opened this issue Apr 23, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@viniciusoliverrs
Copy link

Description:
I am experiencing an issue where I am unable to answer incoming calls when my device is locked. When a call comes in, I am unable to complete the call while the device is locked. The call can only be initiated once the device is unlocked, as this is when Flutter is initialized.

Steps to Reproduce:
Lock the device.
Receive an incoming call.
Attempt to answer the call while the device is still locked.
Observe that the call cannot be completed.
Unlock the device.
Initiate the call successfully after the device is unlocked.
Expected Behavior:
I expect the call answering functionality to behave similarly to applications like WhatsApp, where incoming calls can be answered even when the device is locked. Users should be able to answer calls directly from the lock screen without needing to unlock the device first. This would enhance user experience and provide greater convenience when receiving calls.

Can anybody help me?

@viniciusoliverrs viniciusoliverrs added the bug Something isn't working label Apr 23, 2024
@JhunNormanAlonzo
Copy link

Hi, you can still receive call even the app is swiped out or closed ? is it running on background?

@viniciusoliverrs
Copy link
Author

viniciusoliverrs commented Jul 24, 2024

Hi, the solution I found was to create a service in the background. But it wasn't very good, because sometimes I can't retrieve the called object

@eduardothiesen
Copy link

@viniciusoliverrs can you share you solution?

@dvxgit-jalonzo
Copy link

Hi, the solution I found was to create a service in the background. But it wasn't very good, because sometimes I can't retrieve the called object

I also got a solution for it , since it is running on background, i will invoke a method from background. it is stable now .

@eduardothiesen
Copy link

eduardothiesen commented Aug 6, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants