-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Has error not show imcomming call when voip comming in ios lockscreen #141
Comments
could you please provide the output of the command |
[!] Flutter (Channel stable, 3.19.0, on macOS 14.3 23D56 darwin-arm64, locale en-VN) [!] Android toolchain - develop for Android devices (Android SDK version 33.0.2) [✓] Xcode - develop for iOS and macOS (Xcode 15.2) [✓] Chrome - develop for the web |
im running release in sdk 3.16.8 i have this error after updating to 3.19.0 this error is not fixed. |
have you tried to build iOS without impeller enabling? does this issue present here too? |
could you please provide the full log not only the error string? |
fvm flutter run --release -d 00089630-001914A61A044533 --no-enable-impeller |
is this full log? |
yes, this is full logs in my console/ |
Update: after adding |
please provide the full payload what do you put in the VoIP push notification |
it is the part of starting the app, but before in log you should to see the info about incoming voip |
if your system ignores the voip, try to remove the app and install it again |
"session_id" => "{$call->id}",
"call_type" => $forIos ? ($call->is_video ? 1 : 0) : ($call->is_video ? '1' : '0'),
"caller_id" => $forIos ? $user->id : "{$user->id}",
"caller_name" => "{$user->fullname}",
"call_opponents" => $receiverIds,
"photo_url" => "{$user->avatar_path}",
"message" => $body,
"signal_type" => "startCall",
"ios_voip" => "1",
"notification_type" => "PUSH" |
Just reinstall the app incoming call showed on lockscreen |
what platform do you use for sending the push notification? looks like it is not the flutter. also please check if you send the correct types of data, here is the types which plugin expects https://github.com/ConnectyCube/connectycube-flutter-call-kit/blob/master/ios/Classes/VoIPController.swift#L66-L72 |
is your app work with enabled impeller? |
And i found a new issue when accepting voice calls on lockscreen. When incoming calls show on lockscreen, I accept call after i click button leave call, native call is closed, but action in callback onCallRejectedWhenTerminated not triggered |
it works for Android only, please see README more carefuly, for iOS use the common |
When incoming calls show on lockscreen, I accept call after i click button leave call, native call is closed, |
I need a full log not only the warning or errors |
When i run the release on iOS, I only see these logs. So sorry, Do you know how to see more logs on iOS run release? |
yes, you can do it via the Console app. To start it go to Xcode -> Window -> Devices and Simulators, then select your device and press the 'Open console' button, then in the opened window click the 'Start streaming' button. after that, you should to see all logs from your device and can filter them by your app |
can you reproduce the same issue in the debug build? |
I do not think I can replicate this problem in debug mode because, in this instance, I have to lock my iPhone and close the app. |
and why can't do it in debug mode when the device is connected to the Xcode? |
After I close the app, it cannot start. How can you run debug? |
then you need the Console app for reading and collecting logs
here I meant the build installed via Xcode, not other release-delivering systems |
When ios on lockscreen after receiving an viop incoming call, ios has error log and not show the incoming call screen
[ERROR:flutter/shell/platform/darwin/graphics/FlutterDarwinContextMetalImpeller.mm(42)] Using the Impeller rendering backend.
The text was updated successfully, but these errors were encountered: