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

VoIP Notifications on Android Behave Like Standard Push Notifications, Decline Button Non-functional #619

Closed
rentorbid opened this issue Aug 27, 2024 · 2 comments

Comments

@rentorbid
Copy link

Description

The incoming call notifications on Android are not functioning as expected for VoIP calls. Instead of appearing as persistent VoIP notifications, they are displayed as standard push notifications, similar to messages or updates. The notification rings only once and can be dismissed by swiping without any further action. It should remain sticky until the user accepts or declines the call. Additionally, the decline button on the notification does not function correctly; it does nothing on clicking, it fails to notify the caller that the call has been rejected, causing the caller's device to continue ringing.

Steps to Reproduce

  1. Generate an access token with the Push Credentials SID.
  2. Use the generated access token in the app.
  3. Run the app on an Android device.
  4. Swipe the app away from recent apps (to observe how incoming voice call notifications are handled).
  5. Initiate a call to this Android device from another device.

Expected Behavior

The incoming VoIP notification should persist on the screen until the user accepts or declines the call. The call should ring continuously like a standard incoming call. The decline button should function correctly, notifying the calling device that the call has been rejected.

Actual Behavior

The incoming notification appears as a regular push notification, ringing only once and disappearing if swiped. The decline button does not perform any action, leaving the caller's device ringing.

Voice Android SDK

version 6.6.2

OS Version

Android 13 Go edition

Device Model

Xiomi Redmi A2+

@afalls-twilio
Copy link
Contributor

@rentorbid thanks for the bug report, we are currently investigating..

@afalls-twilio
Copy link
Contributor

@rentorbid The decline button functionality has been fixed, thank you for reporting it. As for the notification style/behavior, we are soon going to refactor the quickstart and in that process, the notification behavior should improve. Thank you for reporting it.

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

2 participants