Giter Site home page Giter Site logo

Comments (3)

mattkhaw avatar mattkhaw commented on June 25, 2024

@PauMateu Pretty much you will be stuck with stock UI for this matter for iOS. To reduce complexity, I highly suggest to do the same with Android. There isn't a workaround for this. The reply I posted earlier is just an idea. After testing this out, it will not work at all because there's a delay between the execution of the code. This means that the native UI will show regardless even though your code immediately ends it. That is the meaning of delay here. Your current logic will only apply for iOS if you build using an older SDK but you won't be able to put it up in the App Store if you have done so since Apple expects you to use the latest SDK. So, you got to weigh which option is the best for you.

from cordova-plugin-callkit.

PauMateu avatar PauMateu commented on June 25, 2024

Thanks for the quick answer @mattkhaw !

I see that there is no other option to stick with the native UI to handle the calls. As I understand, this is for the signaling part of the call, the way to inform the users they are being called. As for the actual handling when the user clicks the accept button, is it possible to modify the plugin so that it opens our custom activity? I believe that this is what WhatsApp and some similar apps , they use the callkit to inform, and then they launch their app once the user accepts.

If this is possible, do you have any insight on how can we approach this? Should we modify the plugin, or can we handle everything in the JS part (as it will be executed once the call is launched). Or this is not possible at all?

Thanks again!

from cordova-plugin-callkit.

mattkhaw avatar mattkhaw commented on June 25, 2024

As I've mentioned above, only possible if you are using below iOS 13 SDK to build. However, your app won't be accepted in the App Store because Apple expects all developers to use the latest SDK to create your app. So, no.

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.