happones / nativescript-laravel-echo

A nativescript plugin for laravel-echo
Apache License 2.0
10 stars 2 forks source link

method 'listen' from 'Presence Channel' don't work in IOS #14

Open Sartori-RIA opened 4 years ago

Sartori-RIA commented 4 years ago

Platform:

Versions:

Bug:

method listen from Presence Channel don't work in IOS


const echoChannel = this.echo
            .join(channel)
            .leaving(() => this.someoneLeaveTheChat()) as NullPresenceChannel;`

echoChannel.listen(this.eventName, (data) => {
      console.log('received from server ', data);
});
Sartori-RIA commented 4 years ago

after some tests, i found error occurrence only in IOS when i have two TnsEcho instances.

lord-zeus commented 4 years ago

I have Problem to with the Presence Channel on iOS hello @happones any ideas to help out with this issue ?

lord-zeus commented 4 years ago

after some tests, i found error occurrence only in IOS when i have two TnsEcho instances.

hey @Sartori-RIA Finally found a way around the problem ?

Sartori-RIA commented 4 years ago

@lord-zeus in the project of the company we used laravel-echo we switched to the pusher service, because the problem always happened with IOS no matter what we did