twilio / voice-quickstart-android

Quickstart app for the Voice Android SDK
https://www.twilio.com/docs/api/voice-sdk/android/getting-started
MIT License
184 stars 140 forks source link

Incoming call not notification on android not working #589

Closed hemantcybertouch closed 5 months ago

hemantcybertouch commented 5 months ago

Description

I am experiencing issue with my application that utilizes the Twilio Voice SDK. The application is built using Node.js for the server-side and Flutter for the Android application.

The issue pertains to incoming call notifications. I have successfully configured the incoming call endpoint webhook to my Twilio number. When an incoming call event occurs, I am able to receive the event on my server. However, the corresponding notification is not being received on my Android application, which is registered using Firebase Cloud Messaging (FCM) and an authentication token.

I have ensured that the Service ID is correctly configured using the push credential. Despite this, the issue persists.

Interestingly, when I attempt to place a call using the /placeCall endpoint, it functions as expected. The problem specifically arises when I want to receive a call from any number to my Twilio number that is registered in the application.

Expected Behavior

Receiving an incoming call notification for two way communication voice call

Actual Behavior

notification is not being received on my Android application, which is registered using Firebase Cloud Messaging (FCM) and an authentication token.

Twilio Call SID(s)

No error in callSID its says call complete

plugin used

https://pub.dev/packages/twilio_voice

afalls-twilio commented 5 months ago

@hemantcybertouch thank you for your interest in our product. Unfortunately we don't support Flutter and that package is not a product of ours. If you are interested in using JS with Twilio-Voice, we offer an open source React Native product or if you are interested in using Java/Kotlin, you can always use our Twilio-Voice-Android SDK to which we have a Quickstart to help you get going.

hemantcybertouch commented 5 months ago

I am facing same issues in android sdk also

On Wed, Mar 20, 2024 at 10:37 PM afalls-twilio @.***> wrote:

@hemantcybertouch https://github.com/hemantcybertouch thank you for your interest in our product. Unfortunately we don't support Flutter and that package is not a product of ours. If you are interested in using JS with Twilio-Voice, we offer an open source React Native product https://github.com/twilio/twilio-voice-react-native .

— Reply to this email directly, view it on GitHub https://github.com/twilio/voice-quickstart-android/issues/589#issuecomment-2010087385, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCDVDMEI2H7IVLBHNNNVKCDYZG64BAVCNFSM6AAAAABE5P52R2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJQGA4DOMZYGU . You are receiving this because you were mentioned.Message ID: @.***>