Comments (3)
@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.
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.
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)
- init function is not called HOT 5
- 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
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.