Twilio call is not working in iOS and Android in react-native

前端 未结 1 1458
-上瘾入骨i
-上瘾入骨i 2021-01-02 10:39

i am trying to use twilio client in react native app. here is the link Twilio repo after done all setup with react native twilio .when i am calling a number getting issue .

相关标签:
1条回答
  • 2021-01-02 11:01

    I have fixed that issue .issue is not in twilio npm . issue about the setup iOS react native project. now i have used this steps 1-in node_modules,react-native-twilio/ios and add RCTTwilio.xcodeproj to your project.

    2- Add libRCTTwilio.a to Build Phases -> Link Binary With Libraries
    

    I have done mistake to call Twilio.addEventListener (), its need Twilio.addEventListener ('type of event', 'call a event hadler'),

    for example

    Twilio.addEventListener('deviceDidReceiveIncoming', this._deviceDidReceiveIncoming);
    
    0 讨论(0)
提交回复
热议问题