-
-
Notifications
You must be signed in to change notification settings - Fork 272
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
findcall is not working #438
Comments
I am facing this issue as well |
The plugin won't save the call information if the app is killed and the plugin isn't set up. You can either initialize and register in the background or save the call information so the app can read it once it is in the foreground again. |
@victortive do you have any suggestions on how to use the saved call? Because in the cases the call arrives after a notification in killed state, the SipUaHelper instance is not the same on the background isolate and main isolate |
if the SipUaHelper is not the same instance consider wrapping it in a class and making that class a singleton |
I did that, but single isolates don't share memory, it does not work
Em ter., 6 de ago. de 2024, 17:42, Victor Uvarov ***@***.***>
escreveu:
… if the SipUaHelper is not the same instance consider wrapping it in a
class and making that class a singleton
—
Reply to this email directly, view it on GitHub
<#438 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABR3LYGFLKVQ4CRWKZJNOELZQEYJRAVCNFSM6AAAAABHQHCFHKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENZSGEYTEMRZGI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
try saving it in shared preferences on the native side and reading it on the dart side |
I don't know if that would work. Since shared preferences only accepts serializable types and also if I save let's say, the informations of the call, I think it's not possible to attribute the saved call to the new instance SipUaHelper |
One way to work it out is, keeping the In your case, send the call ID to background isolate, find the But one constraint here is the video call implementation. As we need to pass |
Describe the bug
when i get notification in background then after register , i am trying to find call using call id but i am getting null
how i can i fix ? please help ?
The text was updated successfully, but these errors were encountered: