[jbosstools-issues] [JBoss JIRA] (JBIDE-21781) Running Cordova projects with Cordova plugins fails on iOS simulators
Vineet Reynolds (JIRA)
issues at jboss.org
Fri Feb 26 09:11:00 EST 2016
Vineet Reynolds created JBIDE-21781:
---------------------------------------
Summary: Running Cordova projects with Cordova plugins fails on iOS simulators
Key: JBIDE-21781
URL: https://issues.jboss.org/browse/JBIDE-21781
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: aerogear-hybrid
Affects Versions: 4.3.1.Beta2
Environment: Mac OS X 10.11.3 (El Capitan);
XCode 7.2.1;
JBDS 9.1.0 Beta2
iPhone 6 Simulator (iOS 9.2) among others
Reporter: Vineet Reynolds
Priority: Blocker
Cordova projects with Cordova plugins fail to run correctly when started with the iOS simulator through JBDS.
This appears to be related to JBIDE-21780 where a default config.xml file is created on the fly in the exported XCode project before the project is built and deployed on the simulator.
Attaching a JavaScript debugger using Safari indicates that Cordova was not initialized successfully. The following messages are reported:
{{deviceready has not fired after 5 seconds.}}
{{Channel not fired: onCordovaInfoReady}}
which indicates that Cordova failed to initialise.
As indicated previously, this appears to be related to JBIDE-21780. The config.xml file should be in the location (of the XCode project) as indicated in https://github.com/VineetReynolds/cordova-test/tree/master/demo-ios-working/demo/ios instead of https://github.com/VineetReynolds/cordova-test/tree/master/demo-ios-not-working/demo/ios
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jbosstools-issues
mailing list