Giter Site home page Giter Site logo

Comments (5)

mattkhaw avatar mattkhaw commented on July 23, 2024

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.

uhotspot4 avatar uhotspot4 commented on July 23, 2024

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.

uhotspot4 avatar uhotspot4 commented on July 23, 2024

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.

mattkhaw avatar mattkhaw commented on July 23, 2024

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.

mattkhaw avatar mattkhaw commented on July 23, 2024

So, did you solve the issue?

from cordova-plugin-callkit.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.