开发者

Is it possible to have a GAE channel-API to iphone?

开发者 https://www.devze.com 2023-02-15 02:54 出处:网络
I want to try using channel-API 开发者_开发百科between my GAE app and the iphone. I\'m not sure where to start... should I try it with UIWebView that runs a javascript?Well, it\'s possible on the iPho

I want to try using channel-API 开发者_开发百科between my GAE app and the iphone. I'm not sure where to start... should I try it with UIWebView that runs a javascript?


Well, it's possible on the iPhone. Of course, it should be on a different NSThread... and it's a nightmare to debug because of the bad access to JS from the iphone.


Have you considered using push notifications to tell the app to fetch the new data?


A web view running the Channel API JS may work, but you probably want to use XMPP. See this article and try this project.


I think you must have some kind of app-in-the-middle native app that communicate with the channel's javascript

0

精彩评论

暂无评论...
验证码 换一张
取 消