triniwiz / nativescript-plugins

Apache License 2.0
80 stars 50 forks source link

nativescript-socketio path option is not working on Android #100

Closed mohammadrafigh closed 2 years ago

mohammadrafigh commented 2 years ago

in nativescript-socketio path option is not working on Android. I had a look into the code and saw for some reason opts[key] = options[key] is not working anymore and the setPath() method should be called. I expect the same thing for other options. So a generic function call may be useful. I use Nativescript 8 and latest plugin version.

mohammadrafigh commented 2 years ago

Sent a PR. I should also check iOS to make sure it's working as is.

UPDATE: iOS version works as expected.