react-native-webrtc / react-native-callkeep

iOS CallKit framework and Android ConnectionService for React Native
ISC License
923 stars 445 forks source link

No calling UI when receiving a call on iOS 17.1.1 #750

Closed ivergot-rc closed 11 months ago

ivergot-rc commented 11 months ago

Bug report

Description

I'm running a React Native app that supports video calling through WebRTC, I'm also using react-native-voip-push-notification.

NOTE: I started getting this issue after upgrading to the iOS version 17.1.1.

Steps to Reproduce

Upgrade to iOS 17.1.1 Establish multiple calls in a row.

Versions

- Callkeep: tested both on 4.3.6 and 4.3.12
- React Native: 0.71.2
- iOS: 17.1.1
- Android: /
- Phone model: iPhone XS, iPhone 12 mini

Logs

ivergot-rc commented 11 months ago

For everyone else who will stumble to the same issue and to answer my own question I think I figured out what was wrong. Before iOS 17.1 the call UUID didn't need to be unique for everything to work, and now it has to. In my example, the UUID was caller ID from the database and it all worked (and still does!) fine on all devices prior to 17.1. After I changed my code to generate a new UUID for each call, everything returned to normal.

booncoder123 commented 11 months ago

For everyone else who will stumble to the same issue and to answer my own question I think I figured out what was wrong. Before iOS 17.1 the call UUID didn't need to be unique for everything to work, and now it has to. In my example, the UUID was caller ID from the database and it all worked (and still does!) fine on all devices prior to 17.1. After I changed my code to generate a new UUID for each call, everything returned to normal.

this is work!

disco-panda commented 11 months ago

@booncoder123 Good catch, if this is working, would you mind closing?