1

I'm trying to develop a desktop application coded in HTML, CSS, jQuery and PHP, compiled with TideSDK. This application needs to receive real-time notifications from a webpage, so that when a user clicks on a specific button on the website, the desktop application captures that immediately. I've found Pusher for this matter, and it works great between two websites, but it appears as "unavailable" to connect in a desktop application with TideSDK.

This is what I get from the web:

Pusher : State changed : initialized -> connecting Pusher : Connecting : {"transport":"ws","url":"ws://ws.pusherapp.com:80/app/f230334341334645add9?protocol=7&client=js&version=2.1.5&flash=false"} Pusher : State changed : connecting -> connected

And this is what I get from the TideSDK application:

Pusher : State changed : initialized -> connecting Pusher : Connecting : {"transport":"ws","url":"ws://ws.pusherapp.com:80/app/f230334341334645add9?protocol=7&client=js&version=2.1.5&flash=false"} Pusher : State changed : connecting -> unavailable

Does anyone know if this is a firewall/proxy/router error? Or maybe something else? In either case, how can I make Pusher work in a TideSDK compiled desktop application?

Thank you very much in advance

jeremy
  • 9,965
  • 4
  • 39
  • 59

1 Answers1

2

@Jeremy You are running into a limitation of TideSDK's internal WebKit. We've been working on TideKit as you may be aware for some time http://tidekit.com. This is launching quite soon so you will be able to migrate when you wish.

TideKit has most up-to-date implementations for both JavaScriptCore or V8. You can build with whatever is best for your project. Our implementations are both state of the art and have the highest HTML5 scores possible today.

TideKit is a platform as opposed to an SDK and it has a build service you interact with but can also build locally. A bonus is that TideKit is for mobile, desktop and web as opposed to a desktop only solution. If you develop using CommonJS you can actually build on all platforms from a single project source to extend the reach of your app.

fairwinds
  • 2,133
  • 12
  • 21
  • By searching with our best friend i got a direct hit to this post.It is hard to up-vote your answer, mainly because you refer to a not yet available platform, right? This should get a special status on SO and beside the OP self, should be monitored by the staff whenever at least one suitable answer is given. my 5cents ;) – HenryW Dec 30 '13 at 22:47
  • 1
    @HenryW I am the project lead for TideSDK. I develop TideKit along with our team here at CoastalForge. TideSDK remains usable to many. We are happy that many find it useful. TideKit is on its way out the door at the time of writing. We've made its APIs compatible to enable users to migrate to modern code with current implementations and more capabilities. Issues some TideSDK users have experienced with HTML5 compliance with websockets, angular, audio/video, and CSS3 have been eliminated. While I cannot provide an immediate fix, it points out a known limitation and solution that is immanent. – fairwinds Dec 31 '13 at 03:09
  • Thanks Henry. You as well. Looking forward to a super 2014 :) – fairwinds Dec 31 '13 at 20:42