-
Notifications
You must be signed in to change notification settings - Fork 17
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
How to pass information from didDisplayIncomingCall to Flutter app? #25
Comments
I have solved my immediate issue now. When PushKit receives a voip notification, it launches your app fully in the background, even before the user answers a call. This includes building the first route of your widget tree, and running However the I will leave this as an open issue. |
I am using this plugin to successfully trigger the CallKit ringing UI upon receiving a PushKit voip notification.
This plugin says to handle the incoming call using the
FCXPlugin.didDisplayIncomingCall
field in Dart. Answering the call launches the Flutter app UI, but theFCXPlugin.didDisplayIncomingCall
function never runs. Interestingly theperformAnswerCallAction
does run.I have been unsuccessful in passing information from that function into the Flutter app. I have tried writing and flushing it to disk, as well as SharedPreferences, but the data doesn't appear to be written upon app launch, it is only available in subsequent app launches. I am pretty confused. What is the suggested approach here?
Plugin version:
2.0.2+2
Flutter doctor output
The text was updated successfully, but these errors were encountered: