GetStream / stream-video-flutter

Flutter Video SDK - Build your own video app experience using Dart, Flutter and the Stream Video Messaging API.
https://getstream.io/video/docs/flutter/
Other
37 stars 11 forks source link

feat(push_notification): add capacity to set has_video flag for Callkit notification #643

Closed TinhHuynh closed 4 weeks ago

TinhHuynh commented 1 month ago

This PR allows the client application to determine which Callkit notification UI is shown (audio or video) using callerCustomizationCallback.

Brazol commented 1 month ago

Hello @TinhHuynh,

I wanted to thank you for your contribution. We are aware of the issue and plan to address it. However, the solution you suggested, which we also considered before, may not work as expected. Specifically, callerCustomizationCallback is not called for iOS in the background or terminated app state. This means that while it may work fine on Android and for foregrounded apps on iOS, it may not be a complete solution.

Thank you for your understanding.

TinhHuynh commented 1 month ago

Hi @Brazol Thanks for the feedback. Yes, I know the solution does not work in iOS when the app is in the background or terminated state. Given the state of the Flutter SDK, that's the best I can contribute :), the complete solution may need Stream backend which I cannot access. That's glad you have a plan to address the issue. Again, thank you for your time 🙏