Closed kapilsharma-gts closed 9 months ago
your question is very similar to this https://github.com/ConnectyCube/connectycube-flutter-call-kit/issues/109 please use the solution provided there
use uuid().v4() for the sessionID uuid flutter package
im also getting the same error: IOS Device: Iphone XR IOS Version: 17.0.3
Error: Thread 1: Swift runtime failure: Unexpectedly found nil while unwrapping an Optional value
Thread:
[VoIPController][pushRegistry][didReceiveIncomingPushWith] payload: [AnyHashable("uuid"): f5229a44-6a4d-4a1f-9925-95a2180a7a40, AnyHashable("message"): Some message in push, AnyHashable("aps"): { alert = "{\"message\":\"Some message in push\",\"uuid\":\"f5229a44-6a4d-4a1f-9925-95a2180a7a40\",\"caller_id\":\"123456789\",\"caller_name\":\"Subhani\",\"caller_id_type\":\"number\",\"has_video\":false}"; }, AnyHashable("has_video"): 0, AnyHashable("caller_id_type"): number, AnyHashable("caller_name"): Subhani, AnyHashable("caller_id"): 123456789]
@AbdurrehmanSubhani your push notification doesn't contain all required fields, please read the README more carefully
Got it working, thanks!
flutter_incoming_call/SwiftFlutterIncomingCallPlugin.swift:117: Fatal error: Unexpectedly found nil while unwrapping an Optional value
thread https://github.com/Alezhka/flutter_incoming_call/issues/1, queue = 'com.apple.main-thread', stop reason = Fatal error: Unexpectedly found nil while unwrapping an Optional value frame #0: 0x000000018851532c libswiftCore.dylib`_swift_runtime_on_report