Quick Tip: Install a specific Git Repository Branch/SHA Hash with Bower

The other day I had to hotfix ngQuill, a nice angular.js wrapper for the quill.js editor. A variable prevented Copy & Paste events in our project and I couldn’t wait to get my pull request merged into the original github repository.

As a workaround I tried to do a bower install with my forked repository with the latest commit (or SHA hash). My fork is not published on bower, so I had to use the entire URL. I tried to install the bower package and ended up with the following error:

Fix It: https:// VS. git://

Try to replace the prefix “https:” and instead use “git:” for the repository and it will work.

Branch works with git://

SHA Hash works with git://

Both won’t work with https://

If you used the --save-flag, your bower.json file has a new entry similar to this one:

If you know why it works with the prefix git and not with https, let me know in the comments.

Quick tip: Release iOS 7 Apps with Xcode 8

Xcode 8 with iOS 7
Build iOS 7 Apps with Xcode 8

If you, like me, wanted all the new bells and whistles in Xcode 8 and realized too late, that the latest officially supported iOS Version of Xcode 8 is iOS 8 and you need support for the iPhone 4 or iPad mini (both run on iOS 7) in one app, here are the good news: You don’t have to go back to Xcode 7 – we built and released a working App for iOS 7 with Xcode 8.

Continue reading “Quick tip: Release iOS 7 Apps with Xcode 8”

Cordova Plugin for iOS 10 camera permission description

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 simple cordova plugin, which can be installed with the cordova plugin installation routine.

Continue reading “Cordova Plugin for iOS 10 camera permission description”

Fix Ionic/Cordova App iOS 10 NSCameraUsageDescription Permission

Update 26.09.2016: I wrote a plugin for cordova/ionic which simplifies the process: iOS 10 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 a missing NSCameraUsageDescription.

Read on for an easy three step solution:

Continue reading “Fix Ionic/Cordova App iOS 10 NSCameraUsageDescription Permission”