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

[Android] Opening the notification center while there is an incoming call makes the call badge disappear #616

Open
elia-bernardi opened this issue Dec 18, 2024 · 0 comments

Comments

@elia-bernardi
Copy link

Hi everyone!
I'm currently working on my project and debugging the code using my Samsung device running Android 14.
Using version: 2.0.4+2 of the library.

I've encountered a bug: when I receive a call, the call badge is displayed as expected. However, if I open the notification center by swiping down and then close it, the call badge disappears. At this point, there's no way to accept or decline the call, and the device continues ringing.
Is there anyone that has this same bug?

Here's a video demonstrating the issue.
https://github.com/user-attachments/assets/0c67da57-0b42-46d7-b848-4a6f93dfa5ab

section of handleCallNotification method:

videocall = Videocall(UUID.randomUUID(), callId)
val callkitData = Data(hashMapOf())
callkitData.id = videocall!!.uuid.toString()
callkitData.nameCaller = data.getString("callerName")
callkitData.handle = "MyApp"
callkitData.type = 1
callkitData.textAccept = event.context.getString(R.string.call_accept).uppercase()
callkitData.textDecline = event.context.getString(R.string.call_decline).uppercase()
callkitData.backgroundColor = "#008a9c"
callkitData.isCustomNotification = true   // false does not fix the problem 
callkitData.isShowMissedCallNotification = false
callkitData.isShowCallback = false
callkitData.isShowFullLockedScreen = true
callkitData.extra = hashMapOf("callId" to videocall!!.id)
FlutterCallkitIncomingPlugin.getInstance().showIncomingNotification(callkitData)
NativeLogger.getInstance()?.info("$TAG - Reported incoming call")
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

1 participant