Add the following lines to the application's .plist file:
Agile Development Practices suggest developers keep a solutions log. I think we can all benefit from a combined solutions log. As I encounter errors or problems I intend to record the solutions on this blog. Please feel to leave your comments, solutions and email me with your errors and solutions.
Oct 12, 2015
Application Transport Security error
Application Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file.
Add the following lines to the application's .plist file:
NSAllowsArbitraryLoads
Add the following lines to the application's .plist file:
Sep 2, 2015
Error running the command ionic build android after adding the Local Notification plugin
After adding the Local Notification plugin to my ionic project running the ionic build android command would result in the following error: Multiple dex files define. The error appears to be due to the fact that the android-support-v4.jar is being included twice. To fix the problem I delete the android-support-v4.jar file in the platforms/android/libs directory.
Error running command ionic run android
I was getting the following error when running the ionic run android command:
ERROR: Failed to launch application on device: ERROR: Failed to install apk to device: pkg: /data/local/tmp/android-debug.apk
Failure [INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES]
I had to uninstall the production version of the app to get it to deploy the development version.
Aug 27, 2015
Error Updating Ionic Framework
Ionic Framework throws the error ECONFLICT Unable to find suitable version for angular when running the command ionic lib update. The solution that worked for me was running bower update.
Jul 22, 2015
Getting started with Ionic and PhoneGap Build
Good Blog post about getting started using Ionic with PhoneGap Build:
http://thejackalofjavascript.com/ionic-angularjs-and-phonegap-build/
http://thejackalofjavascript.com/ionic-angularjs-and-phonegap-build/
Subscribe to:
Posts (Atom)