Comments (5)
After reading all this, seems fine to me if you can call the functions from the plugin. The most common problem with Ionic/React Capacitor is the plugin doesn't install correctly, which is not the case here since you can call the functions.
To answer why CordovaCall is logged during the launch of the app is because CordovaCall automatically inits itself on load. It is the default behaviour. Don't worry about that.
As for why VoIP push is not calling back, I think the problem mostly lies on the setup from the Apple Developer console. Maybe you should check your settings thru the console just to make sure it is set up correctly. Have you checked whether the capability is enabled as well in your project? Not sure it will help but it might be that too although the chances of it happening is pretty low since the plugin automatically enables all the capabilities required.
Sorry for the lack of knowledge in Ionic/React Capacitor since I didn't use these frameworks much if the answer I've given is too barebones. I doubt that the plugin is not called during deviceReady because from the log that you've posted here, it seems to be called there but it is worth checking out as well just to make sure that you've called the plugin in the correct place.
from cordova-plugin-callkit.
Thanks for your answer.
One more question. Do I need to have both CordovaCall and cordova-ios-voip-push installed prior to installing yours? Or your plugin is a standalone one containing everything it needs?
I don't see VoIPPushNotification.h or VoIPPushNotification.m in your project!
from cordova-plugin-callkit.
I don't know if this says anything or not but CordovaCall works pretty ok!
cordova.plugins.CordovaCall.receiveCall('John Smith');
from cordova-plugin-callkit.
If you are using my plugin, no. As stated in the repo, both CordovaCall and VoIP push is combined together into one. Reason why those files are not here is because it is already mixed into CordovaCall but the namespace remains the same.
To answer your next question, as stated in my previous reply, if you can call the functions, it is installed properly. Just make sure you are setting it up properly.
from cordova-plugin-callkit.
So, did you solve the issue?
from cordova-plugin-callkit.
Related Issues (15)
- An incoming call is instantly rejected HOT 1
- Can't cancel VoIP notification when application killed [iOS] HOT 8
- Ionic use HOT 5
- Not able to handle calls in webrtc/js HOT 13
- Answering phone crashes the app HOT 8
- Plugin still in use? We've updated the VoIP Call Code for our purposes / Video calls... HOT 1
- ReferenceError: Can't find variable: VoIPPushNotification
- Payload Data field not working? HOT 1
- App Does not seem to receive notifications when in background or killed HOT 38
- Does the application run when closed? HOT 2
- Callkit does not trigger HOT 2
- How to use it on Android HOT 12
- [Help wanted] Firebasex plugin integration HOT 3
- Custom UI onReceiveCall HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-plugin-callkit.