Skip to content
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

Make sure, the parameter "port" is always treated as a number. #4

Merged

Conversation

heinerlamprecht
Copy link

@heinerlamprecht heinerlamprecht commented Jan 8, 2020

Although the parameter "port" is stored in a variable of type "NSNumber", it may not always be a number. JavaScript is not type-save, so if the socket.open call in Js provides the port as a string, it is also stored as a string inside the plugin. Calling "open" on the socketAdapter however leads an the error message.

@kitolog kitolog merged commit 63348cf into kitolog:master Sep 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants