Comments (6)
It's better to have a JSONObject with the following definition : { state:"RINGING", number:"NUMBER}
It's explicit and avoids breaking changes if you want to add caller name or any other info later.
from cordova-phone-call-trap.
+1
And caller name if in phone book :)
from cordova-phone-call-trap.
Hi @beradrian and @leonzinger
Today I have two pull requests about this.
I need study this solution because one used a json object ({"RINGING": "NUMBER}) for all states and other concatenate number on ringing state (RINGING + "NUMBER").
Do you have any preference?
from cordova-phone-call-trap.
I prefer JSON as well.
Thank you!
On Mon, Oct 26, 2015 at 11:50 AM guillaume-fr [email protected]
wrote:
It's better to have a JSONObject with the following definition : {
state:"RINGING", number:"NUMBER}It's explicit and avoids breaking changes if you want to add caller name
or any other info later.โ
Reply to this email directly or view it on GitHub
#2 (comment)
.
from cordova-phone-call-trap.
I agree with @guillaume-fr { state:"RINGING", number:"NUMBER}. JSON is much better.
from cordova-phone-call-trap.
Hi @renanoliveira thanks for the plugin , can you pull this fix #7 .
from cordova-phone-call-trap.
Related Issues (19)
- Why do you need "PROCESS_OUTGOING_CALLS" permission?
- Phonecalltrap plugin undefined HOT 1
- Phonecall-Trap Plugin Not working Android TargetSDK-23 HOT 1
- Hi, Does cordova have any plugins can reroute outgoing calls๏ผ
- Dual sim issue
- onCall undefined HOT 3
- Call record HOT 3
- I tried the same example and but I am unable to work this plugin HOT 1
- Detect incoming call when app is in background HOT 1
- Detect the calling number
- how to import it ??? HOT 2
- Error Callback getting fired always HOT 7
- How to use Call ID?
- IOS not working
- Not working on Ionic 6
- Will this support for IOS? HOT 9
- Getting error while build as "duplicate ca se label, case TelephonyManager.CALL_STATE_RINGING"
- PhoneCallTrap undefined 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-phone-call-trap.