We are implementing the cometchat call functionality in our iOS app, the situation we are facing stated herewith
We are in foregrond → Call initiated from web → Received notification n simultaneously Accept n Decline Screen shown → Call completed with End Call button. Then if I am trying to call the user again that screen with Accept n Decline button didn’t shown up but received notification n also clicking on notification doing nothing. Along with that getting console log as Warning: Attempt to present <Flipspot.CometChatIncomingCall: 0x14fec8d90> on <Flipspot.DashBoardVC: 0x15085b000> which is already presenting (null)
Same is the case when app is in background
Found a case: Sometimes call initiated n we also received the screen of accept n decline button, but when trying to accept the call its showing me “Unable to accept call” whereas the call is established n users can talk too but in app we are stuck at the Accept n decline screen.
Help in this process will be highly appreciated. The files of AppDelegate and Dashboard from where we are performing the actions can be downloaded here: Dropbox - Appdelegate and dashboard - Simplify your life