WebsiteBeaver / CordovaCall

Cordova CallKit & ConnectionService plugin for iOS/Android that displays the native call UI for VOIP apps
MIT License
196 stars 91 forks source link

Question: Is there a guide for using this wiht push notifications? #87

Open Bobisback opened 4 years ago

Bobisback commented 4 years ago

Hello all,

Trying to figure out how to use this with push notifications. Is there any guides that can help out with this?

Has anyone ever done this before?

Thanks, Bob

bpowell15 commented 4 years ago

until recently i would have recommened using phonegap-plugin-push but with recent changes to iOS 13 i am finding that that plugin does not make the correct calls to allow for CallKit to be used with the app anywhere but the foreground

Bobisback commented 4 years ago

That is sad, so before ios 13 it worked fine?

Any chance you have some guides related to getting this working with plugin-push, assuming it is working? Aka what would the code look like pre ios 13?

Also do you know if anyone is working on the fixing this?

jeffreydi commented 4 years ago

Same question here - anyone able to get this to work in the background on iOS 13? Seems the main functionality of this plugin is currently not implemented.

mattkhaw commented 4 years ago

Sorry if I'm too late to the party. I've recently implemented this plugin with VOIP push. It is pretty easy to be honest (after a lot of hours of trial and error). You can head over to https://github.com/Hitman666/cordova-ios-voip-push/issues/16 to check out the methods I've tried. I do believe @Bobisback has asked me about this before.

Just a note, no matter what, you still need to modify both CordovaCall and the push plugins that you are using to match your requirements.