TideSDK无法与Pusher一起使用 [英] TideSDK not working with Pusher

查看:141
本文介绍了TideSDK无法与Pusher一起使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试开发一个用TideSDK编译的HTML,CSS,jQuery和PHP编码的桌面应用程序。此应用程序需要从网页接收实时通知,以便当用户单击网站上的特定按钮时,桌面应用程序会立即捕获该通知。我已经找到用于此问题的Pusher,并且在两个网站之间都可以正常运行,但是在使用TideSDK的桌面应用程序中显示为不可用。

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.

我从网上得到的信息:


Pusher:状态更改:已初始化->连接Pusher:连接

{ transport: ws, url: ws://ws.pusherapp.com:80 / app / f230334341334645add9?protocol = 7& client = js& version = 2.1.5& flash = false} b $ b Pusher:状态已更改:正在连接-> 已连接

这就是我从TideSDK应用程序:

And this is what I get from the TideSDK application:


Pusher:状态更改:已初始化->连接Pusher:连接

{ transport : ws, url: ws://ws.pusherapp.com:80 / app / f230334341334645add9?protocol = 7& client = js& version = 2.1.5& flash = false}
Pusher :状态更改为:正在连接-> 不可用

有人知道这是否是防火墙/代理/路由器错误吗?也许还有其他东西?无论哪种情况,我如何才能使Pusher在TideSDK编译的桌面应用程序中工作?

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?

非常感谢

推荐答案

@Jeremy您正在遇到TideSDK内部WebKit的限制。您可能已经知道一段时间 http://tidekit.com 了,我们一直在研究TideKit。该版本即将推出,因此您可以根据需要进行迁移。

@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具有JavaScriptCore或V8的最新实现。您可以使用最适合您项目的内容进行构建。我们的实现都是最先进的,并且具有当今HTML5最高的得分。

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是一个平台,而不是SDK,并且具有与您交互的构建服务但也可以在本地构建。 TideKit适用于移动设备,台式机和Web,而不是仅台式机的解决方案,这是一个好处。如果您使用CommonJS开发,则实际上可以从单个项目源在所有平台上进行构建,以扩展应用程序的应用范围。

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.

这篇关于TideSDK无法与Pusher一起使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆