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:
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 firstname.lastname@example.org cordova build… Continue reading Quick Tip: Could not find gradle wrapper within Android SDK. Might need to update your Android SDK.
Update 22.09.2017: Update 1.2.0 of the cordova camera permissions plugin ships support for NSPhotoLibraryAddUsageDescription in iOS 11 In my last blog post I wrote about the iOS 10 camera permission a.k.a. iOS 10 NSCameraUsageDescription Permission issue, we encountered during the development of our Ionic/Cordova App. To further automate the npm-based build process, I wrote a… Continue reading Cordova Plugin for iOS 10 camera permission description
Update 22.09.2017: I wrote a plugin for cordova/ionic which simplifies the process: iOS 10/11 camera permission description plugin I just wanted to share this little finding with you, which I encountered today trying to upload our App update for iOS 10 of “zingoo Partner App” to Testflight. The app got rejected from Testflight because of… Continue reading Fix Ionic/Cordova App iOS 10 NSCameraUsageDescription Permission