Closed jonbot closed 8 years ago
Yeah, this is a known issue that I am trying to find a solution for.
See #1
Wow. Apologies for totally spacing there. For some reason I read #1 as only applying to the browser platform. At this point, I get around all this by running node config; webpack; cordova run ios;
No big deal there.
First off — I'm really excited about this project. Exactly suits the needs of what I'm doing.
I ran into an issue that tripped me up for a couple of days. Running the command
npm run ios
opens up the iOS emulator, but the resulting app apparently does not have cordova.js functionality included.So, if I did this in my index.js file, no alerts or logs showed up, since no onDeviceReady event fired:
Eventually, I built the app for production, following the instructions in the README. This seems to have packed cordova.js up the right way, since my alert and log now show.