You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I am using this library inside React Native, and am seeing an issue with the CallComposite.dismiss() function. I have a push notification that, when received, calls dismiss() but when the app is in the background and moved to foreground by pressing the notification, the composite is dismissed, but the android os still says the call is active. I believe this is due to having two activities open, but was wondering if there could be someway to completely kill the call. I did some digging and found CallingAction.CallEndRequested() in the exit() function. Maybe a boolean to pass that kills the call? I can work on the fix if there is some guidance on the best course of action.
To Reproduce
Steps to reproduce the behavior:
With two activities open, and acs being the one on top, make the launch() call from the bottom activity and add a timer that x seconds after launching the composite, dismiss() is called
Send app to background (not killed)
Open app: The composite will close but the os will show that the call is still ongoing
This bug is [always] reproducible.
Expected behavior
A clear and concise description of what you expected to happen.
The composite is closed and the os does not say the call is ongoing
Screenshots
AzureCommunicationUILibrary (please complete the following information):
Version [1.4.0]
Smartphone (please complete the following information):
Device: [Pixel 4a]
API: [33]
The text was updated successfully, but these errors were encountered:
Describe the bug
I am using this library inside React Native, and am seeing an issue with the
CallComposite.dismiss()
function. I have a push notification that, when received, callsdismiss()
but when the app is in the background and moved to foreground by pressing the notification, the composite is dismissed, but the android os still says the call is active. I believe this is due to having two activities open, but was wondering if there could be someway to completely kill the call. I did some digging and foundCallingAction.CallEndRequested()
in theexit()
function. Maybe a boolean to pass that kills the call? I can work on the fix if there is some guidance on the best course of action.To Reproduce
Steps to reproduce the behavior:
launch()
call from the bottom activity and add a timer that x seconds after launching the composite,dismiss()
is calledExpected behavior
A clear and concise description of what you expected to happen.
The composite is closed and the os does not say the call is ongoing
Screenshots
![os](https://private-user-images.githubusercontent.com/45781686/330621110-d7508b93-7aa4-4d37-a4fb-d32be47f91aa.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAzODAzNjIsIm5iZiI6MTcyMDM4MDA2MiwicGF0aCI6Ii80NTc4MTY4Ni8zMzA2MjExMTAtZDc1MDhiOTMtN2FhNC00ZDM3LWE0ZmItZDMyYmU0N2Y5MWFhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzA3VDE5MjEwMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTM3NzlkMDVkNmNjYmQ1ZjQ1ODc0MWIwOGFiNWIwY2E2MjU2NThkM2QwYmQxMGE5ZDQ3YjMyN2QxYWYwYzk3ZWQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.D0yFsIG_1Y4QttwJORgX-tPj3VrzVbz8_QJ4_hXTHzs)
AzureCommunicationUILibrary (please complete the following information):
Smartphone (please complete the following information):
The text was updated successfully, but these errors were encountered: