Skip to content
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

Add completionHandler for reportNewIncomingCall method #191

Conversation

lrorthmann
Copy link
Contributor

Adding the possibility to add a completionHandler for the reportNewIncomingCall. Which is usefull if you want to tell the Pushkit you handled the VoIP notification only after the call was successfully reported to CXProvider.

The reasoning is that some times the incoming call screen from CallKit doesn't show if the App isn't in foreground if the completion handler from PushKit is called immediately (not waiting for the CXProvider to finish the call report) and then only after the user opens the App is when the screen pops up.

…comingCall. Which is usefull if you want to tell the pushkit you handled the VoIP notification only after the call was successfully reported.
@danjenkins danjenkins requested a review from manuquentin May 12, 2020 16:54
@manuquentin manuquentin merged commit 5b37f2d into react-native-webrtc:master May 12, 2020
@manuquentin
Copy link
Contributor

Thanks @lrorthmann !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants