react-native-callkit icon indicating copy to clipboard operation
react-native-callkit copied to clipboard

CallKit UI not showing when i use displayIncomingCall

Open fcaride opened this issue 7 years ago • 9 comments

First of all i do the setup calling this function: RNCallKit.setup({appName: 'App'}); Then I am calling this function: RNCallKit.displayIncomingCall("_uuid", "886900000000") when the phone is locked or when I'm on the home screen and the UI it's not showing up. I debugged it and it calls the function but it doesn't do anything.

Thanks

fcaride avatar Dec 04 '17 18:12 fcaride

I have the same issue, please, some fix ?

davidcantonnoteges avatar Jul 09 '18 10:07 davidcantonnoteges

have you added

<key>UIBackgroundModes</key>
<array>
  <string>voip</string>
</array>

to your info.plist file?

aarkalyk avatar Jul 09 '18 11:07 aarkalyk

Yes

davidcantonnoteges avatar Jul 09 '18 13:07 davidcantonnoteges

UIBackgroundModes voip fetch remote-notification

davidcantonnoteges avatar Jul 09 '18 13:07 davidcantonnoteges

I've found that the CallKit display does not appear with no errors in the logs if your call ID is not in the UUID format. If (like me) your call IDs from the SIP stack are the wrong format I suggest using uuid-by-string to convert the ID into the correct format.

geraintwhite avatar Nov 19 '18 14:11 geraintwhite

@davidcantonnoteges Did you solve the issue now? Could you share the method?

neo125874 avatar Jan 18 '19 04:01 neo125874

@aarkalyk Same here in ios12 Not showing when called display & Already add the backgroundmode,

Any solution? Thanks

neo125874 avatar Jan 18 '19 04:01 neo125874

When I setup without CocoaPods , it work well , but when i change to using CocoaPods to setup , I have the same issue , How can i fix it ?

andrew781026 avatar Jan 24 '19 08:01 andrew781026

I've found that the CallKit display does not appear with no errors in the logs if your call ID is not in the UUID format. If (like me) your call IDs from the SIP stack are the wrong format I suggest using uuid-by-string to convert the ID into the correct format.

UUID format solved my problem.

anhtukhtn avatar Mar 12 '19 13:03 anhtukhtn