Author: Andreas Jacob

  • Quick Tip: Fix Cordova Access-Control-Allow-Origin error

    A real lifesaver for cordova and ionic developers when you encounter CORS errors in the browser preview – Goto yourapp/platforms/browser/cordova/node_modules/cordova-serve/src/browser.js and change the chromeArgs line, adding the “–disable-web-security” flag:

  • Angular QR Code Generator Component

    Update: Latest update supports Angular 13 Say hello to my new Angular QR Code module, called angularx-qrcode. It’s not only a drop-in replacement for the no-longer-maintained ng2-qrcode component to generate and display QR Codes, it’s as well heavily optimized for Angular and Ionic. angularx-qrcode supports Angulars Ivy compiler and AOT Compilation (Ahead-of-Time Compilation), which results […]

  • Quick Tip: Could not find gradle wrapper within Android SDK. Might need to update your Android SDK.

    If you try to build your ionic/cordova project running with cordova build –release android and the shell returns the following error Could not find gradle wrapper within Android SDK. Might need to update your Android SDK. the following worked for me: cordova platform remove android cordova platform add android cordova platform update android@6.2.1 cordova build […]

  • Quick Tip: MySQL Workbench 6.3 (macOS Sierra) hangs on simple queries

    Update: This issue is now fixed in MySQL Workbench 6.3.9 After upgrading MySQL Workbench 6.2 to 6.3, my Workbench displayed Mac’s spinning wheel of death almost all the time, even with the most simple query: SELECT * FROM ecruite.MenuItem; The queried table consists of 4 rows with 10 columns each and approx. 10 characters each. […]