flutter-webrtc / callkeep

iOS CallKit and Android ConnectionService for Flutter
MIT License
131 stars 142 forks source link

'value' cannot be nil' #50

Open drmnasr opened 3 years ago

drmnasr commented 3 years ago

Hello, I am getting this crash whenever I push a voip, i've tried the payload exactly as stated in the readme, any suggestions?

*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[CXHandle initWithType:value:]: parameter 'value' cannot be nil' terminating with uncaught exception of type NSException

xyzbilal commented 3 years ago

I am also getting same error. nothing changed in example project except bundle id

Ekran Resmi 2021-02-07 19 21 30
xyzbilal commented 3 years ago

I am also getting same error. nothing changed in example project except bundle id

Ekran Resmi 2021-02-07 19 21 30

my problem was payload. I changed my payload like below and it worked. if you remove uuid from uuid created by function itself, so I removed it from payload.

{
 "caller_id": "+8618612345678",
    "caller_name": "hello",
    "caller_id_type": "number", 
    "has_video": false
}