Ionic 2: Cordova is not available. Make sure to include cordova.js or run in a device/simulator (running in emulator)

This is quite late but anyone going through the same problem might benefit from this answer.First try to add browser by running below command ionic platform add browser and then run command ionic run browser. which is the difference between ionic serve and ionic run browser? Ionic serve – runs your app as a website … Read more

How can I deploy (create .ipa) iphone app using ‘cordova build ios –release’?

I found this command which worked for me: cordova build ios –device cd platforms/ios/build/device /usr/bin/xcrun -sdk iphoneos PackageApplication “$(pwd)/$PROJECT_NAME.app” -o “$(pwd)/$PROJECT_NAME.ipa” Source: http://www.splinter.com.au/xcode-4-command-line-builds-of-iphone-apps/ I did run @MD. Mohiuddin Ahmed’s Ruby script first, which would have changed my xcodeproj file. I’m not sure if that was necessary but I don’t think so. Update for XCode 8: … Read more

Can Meteor be used with PhoneGap?

Yes, this is possible, but not by packaging the meteor app on the phone. You have to point phonegap to your meteor server instead (you will still be able to use the API for accessing functionality on the device). Here are the instructions: Grab the latest copy of phonegap 2.2.* from https://github.com/phonegap/phonegap (2.1 has a … Read more

Cordova Telemetry, what is it and why use it?

Cordova telemetry is a part of the cordova cli and collects data about your usage of it. From the Apache Cordova CLI Privacy Policy: IP address OS type and version Node version Cordova version Commands executed, time of execution and status (success/failure) You can turn on/off from the cordova cli (cli reference) by: cordova telemetry … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)