@leob wrote:
I'm using Firebase in my Ionic app and it works like a charm.
However I now introduced the Ionic Web Client library into my app so that I can use the Ionic Push service, and it seems that the Ionic Web Client library doesn't work well together with Firebase. I'm seeing this in the app log when I send a push message through the library:
I/chromium(30032): [INFO:CONSOLE(5)] "<PushMessage ['......']>" ...... I/chromium(30032): [INFO:CONSOLE(0)] "WebSocket connection to 'wss://......' failed: WebSocket is closed before the connection is established.", source: (0)
So, after sending a push message (through the Ionic Push API), I immediately see a Firebase web socket failure.
I noticed the same kind of problem back when I used the "old" ionic.io libraries (before they switched to this new "web client" concept). Back then I dropped these libraries (ionic-service-core etc) and my Firebase connectivity problems were gone.
Does anybody else have this problem?
I think I'll be dumping the web client library and the Ionic Push service and will look at Amazon SNS oe another push service, I'm very happy that Firebase is working reliably and this goes above anything else.
Posts: 1
Participants: 1