-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incoming number sent to JS listener #2
Comments
+1 |
Hi @beradrian and @leonzinger Today I have two pull requests about this. Do you have any preference? |
It's better to have a JSONObject with the following definition : It's explicit and avoids breaking changes if you want to add caller name or any other info later. |
I prefer JSON as well. Thank you! On Mon, Oct 26, 2015 at 11:50 AM guillaume-fr [email protected]
|
I agree with @guillaume-fr { state:"RINGING", number:"NUMBER}. JSON is much better. |
Hi @renanoliveira thanks for the plugin , can you pull this fix #7 . |
It would be useful if instead of the state as a string on the JS listener you'll receive an object with two properties:
state
andincomingNumber
.The text was updated successfully, but these errors were encountered: