andrew781026 / rn-callkit-with-fcm

start ios app use callkit with fcm
0 stars 0 forks source link

How can i call to other devices using uuid #1

Open saikiranoptisol opened 5 years ago

saikiranoptisol commented 5 years ago

hi, i have tried this and got success response. but when i select in outgoing call with another uuid. i cant able to get call on other device. how to do it?

andrew781026 commented 5 years ago

sorry , i am testing the react-native-callkit at here i didn't figure out all what i should do , maybe you can see react-native-callkit for more information

saikiranoptisol commented 5 years ago

even i'm asking about reac-native-callkit only. as per your demo if i click on incoming call my device itself i will get call. if i click on outgoing call nothing happens. so please tell me how you have called to other phones and how you received it from other phones.

andrew781026 commented 5 years ago

below is what i aim to do , but not achieve

caller : press RNCall button => send fcm to receiver => caller is in custom RN waiting UI

receiver : get fcm => RNCallKit.displayIncomingCall => iphone sysyem Callkit UI =>
receiver press pickup => onRNCallKitPerformAnswerCallAction => send fcm to caller => receiver is in webRTC UI

caller : get fcm => change UI to webRTC UI

andrew781026 commented 5 years ago

i forgot to delete untested code , this.onOutgoingCall ,sorry

saikiranoptisol commented 5 years ago

@andrew781026 i appreaciate your example but is it possible to send any sample code