PhoneGap, iOS 6.1 shows weird alert on launch and

2019-08-08 08:33发布

I've built the app in Sencha Touch 2.1.1. It's packaged using PhoneGap. It runs fine as a packaged web app. As soon as the app in the simulator gets past the initial Cordova splash screen I get an alertbox this alert:

iOS Screen Grab

I'm not sure what's causing this alert. Also, after I click OK it just hangs at the loading screen.

1条回答
该账号已被封号
2楼-- · 2019-08-08 09:27

Maybe this answer can be useful for someone else who find this question searching for a solution. I had the same problem and I solved it: the problem was that the cordova-2.7.0.js file in my iOs project was generated in Android and then copied in the iOs project.

Beware: the cordova-x.x.x.js file is PLATFORM DEPENDENT. So you have to include the right one.

查看更多
登录 后发表回答