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

Disabling Incoming Call Notification #466

Open
armanrma7 opened this issue Jan 15, 2025 · 3 comments
Open

Disabling Incoming Call Notification #466

armanrma7 opened this issue Jan 15, 2025 · 3 comments

Comments

@armanrma7
Copy link

Hi,

I am currently using the Twilio Voice SDK for React Native and have implemented VoiceFirebaseMessagingService to handle incoming call invites. However, when I use VoiceFirebaseMessagingService, the incoming call notification is automatically shown, which I would like to disable. At the same time, when I do not use the service, the callInvite event does not trigger.

Could you please guide me on how I can disable the incoming call notification while still triggering the callInvite event correctly?

Thank you in advance for your help!

@mhuynh5757
Copy link
Collaborator

Hi @armanrma7 thanks for reaching out. To understand your use case correctly, you would like voice.on(Voice.Event.CallInvite, ...) to fire, but you don't want the native Android notification or CallKit UX to pop up?

@Harikrishnan00
Copy link

Hi, @mhuynh5757. I'm also looking for a workaround to implement the feature you mentioned: firing voice on(Voice.Event.CallInvite, ...) without native Android notification or CallKit UX to pop up. Is there any way to pull through this? If you can help, it will be really helpful.

@armanrma7
Copy link
Author

Hi @mhuynh5757,

I want to use voice.on(Voice.Event.CallInvite, ...) to handle incoming call invites in my React Native app, but I don't want the native Android notification to pop up when a call comes in. Is there a way to disable the native notification while still ensuring that the CallInvite event works as expected?

Thanks in advance!

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

3 participants