Closed kefahB closed 6 years ago
@jogboms Have you idea about this ? @triniwiz is not active
I add deserialize(), is not a solution but I need to continu to work until we have a real soulution
// nodes-modules/nativescript-socketio/socketio.ios.d.js
SocketIO.prototype.on = function (event, callback) {
this.socket.onCallback(event, function (data, ack) {
data = deserialize(data); // HERE I RECEIVE [{msg: "HELLOE}] and I can use it
if (ack) {
callback(data[0], ack);
}
else {
callback(data[0]);
}
});
};
Sorry @kefahB, i'm a bit swamped with office work lately.
Did you verify this is a real problem by searching the NativeScript Forum and the other open issues in this repo?
YES
Tell us about the problem
Please, ensure your title is less than 63 characters long and starts with a capital letter.
I use socio.io Server and when i emit event from server i recive :
no problem with android i receive :
Which platform(s) does your issue occur on?
iOS
Please provide the following version numbers that your issue occurs with:
package.json
file of your project)Thnk you :)