triniwiz / nativescript-socketio

Socket.IO for nativescript
Apache License 2.0
71 stars 31 forks source link

No data in "pong" event on iOS #89

Open Delivrator opened 5 years ago

Delivrator commented 5 years ago

Hello,

I have an issue with the "pong" event on iOS. Data are undefined :( No value in millisecs. Works perfectly on Android.

Thank you for your help !

If the demo apps cannot help and there is no issue for your problem, tell us about it

The "pong" even works perfectly on Android (i get the delay in ms as data), but nothing on iOS, data are "undefined" in the pong event.

Which platform(s) does your issue occur on?

Please, provide the following version numbers that your issue occurs with:

Please, tell us how to recreate the issue in as much detail as possible.

Is there any code involved?

socketIO.on('pong', function (data) { console.log(data); //undefined on iOS });