cocos2d 3.x jsb 用 pomelo-cocos2d-jsb 成功連接了.
cocos2d 2.x jsb 用 pomelo-cocos2d-jsb 在pomelo.init 後完全沒有反應
adb logcat
D/cocos2d-x debug info(10331): JS: connect to ws://183.178.xxx.xxx:3014
/************************/
pomelo.init({
host: “183.178.xxx.xxx”,
port: 3014,
log: true
}, function() {
pomelo.request(route, {
uid: uid
}, function(data) { // data 完全沒有反應…
/***********************/
cocos2d-jsb.js 已經 加入了
require(“src/pomelo-cocos2d-jsb/index.js”);
有人試過在cocos2d 2.x jsb 成功連接 pomelo 嗎 ???