hiennguyen92 / flutter_callkit_incoming

Flutter Callkit Incoming
https://pub.dev/packages/flutter_callkit_incoming
MIT License
165 stars 264 forks source link

[iOS] Audio is not playing in iOS 17.1.1 if a callkit is active #406

Open Tim-byte-afk opened 8 months ago

Tim-byte-afk commented 8 months ago

I am noticing that in iOS 17.1.1, I am unable to play any sounds during an active CallKit call - cannot play outgoing call sound, pick up, hang up sounds.

This is not observed on older versions of iOS or before entering a CallKit call - because everything works then. I've got two physical phones, one is an Iphone 15 Pro with latest iOS (17.1.1), the other one is an Iphone 11 with iOS 16.6.1, everything works perfectly on the 11, while on the 15, I can play sounds until I mark CallKit as having begun the call, then nothing, no sounds are played. Are there any work arounds/solutions to this issue or is this related to changes that Apple has made and there's nothing that can be done from the lib's end?

Expected behaviour The audio from asset source is correctly played during an active callkit call.

Steps to reproduce Play sound from asset Observe sounds being played correctly Start an active callkit call Play sound from asset Sounds are not being played

@hiennguyen92 Thank you very much for the work you have done, please help

juskuc commented 7 months ago

Experiencing this as well, have you found any work around to this?

@Tim-byte-afk @hiennguyen92