“无法下载重新加载更新信息。”使用Trigger.IO Realod

时间:2013-07-08 15:56:32

标签: reload trigger.io

我在重新加载时遇到问题。 推动更改后,我转到模拟器,按主页按钮,控制台显示我:

[   INFO] 2013-07-08 12:49:59.127 Forge[5316:1353] [INFO] Checking for reload update
[   INFO] 2013-07-08 12:50:00.272 Forge[5316:1353] [INFO] reload update available
[   INFO] 2013-07-08 12:50:00.272 Forge[5316:1353] [INFO] Starting Reload update
[   INFO] 2013-07-08 12:50:01.979 Forge[5316:1353] [INFO] Failed to download reload update information.

每次我收到“无法下载重新加载更新信息。”

我正在尝试推送到一个流,这是我在应用程序中的JS代码:

//Handling Reload Proccess
        //We must comment "testadores" and uncomment "usuariosfinais" when releasing to the Apple Store
        forge.reload.switchStream("testadores", successEmpty, errorEmpty);
        //forge.reload.switchStream("usuariosfinais", successEmpty, errorEmpty);
        forge.reload.updateReady.addListener(upDateReady, errorEmpty);
        function successEmpty(content){}
        function errorEmpty(content){}
        function upDateReady(){
            forge.reload.applyAndRestartApp(goRestartToUpdate, errorEmpty)
        }
        function goRestartToUpdate(){
            alert("Uma nova versão do aplicativo está disponível e será implementada");         
        }

有什么想法吗?

0 个答案:

没有答案