Open katphlab opened 8 months ago
Hi @katphlab
Thank you for bringing this to my attention - I'll investigate and report back.
I have created a fix for this by implementing the showBackgroundCallUI function and using the twilio payload to call the Twilio SDK.
Issue Summary
I have integrated the plugin in my app and everything is working as expected. But if I try to send a custom FCM notification to the app, that notification is captured by the plugin and doesn't reach Awesome_notifications plugin. This is mainly to do with this code.
Steps to Reproduce
D/VoiceFirebaseMessagingService(11750): onMessageReceived: The message was not a valid Twilio Voice SDK payload, continuing...
Is there any known method to overcome this limitation?
The workaround that I can think of would be to create another methodChannel that will receive the entire FCM payload and manually trigger the VoiceFirebaseMessagingService.