Category: Development

  • Flash ESP8266-01 with Arduino Uno

    Flash ESP8266-01 with Arduino Uno

    When I first got introduced to the world of the ESP8266, I had a real hard time to find a way to flash the firmware of the ESP8266-01 with an Arduino Uno. Many existing tutorials took essential information for granted or required additional hardware like a FTDI Serial TTL-232 USB cable, a USB-to-serial converter or a level shifter. Others were written specifically for breakout boards like the NodeMCU, SparkFun Thing or Adafruit Huzzah.

    As I only had an Arduino and a barebone ESP8266-01 at my disposal, neither of these tutorials were viable. Eventually I managed to flash the ESP-01 firmware with pieces of information from Instructables, various blogs and youtube videos.

    That’s why I wrote the missing step-by-step beginner tutorial on how to flash the ESP8266-01 firmware with an Arduino – it only requires an ESP8266, an Arduino, a USB cable and some wires to flash your ESP8266.

    (more…)

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

    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 with an initial value prevented Copy & Paste events in our project and I couldn’t wait to get my pull request merged into the original github repository as we had to release a working version.

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

    bower ENORESTARGET URL sources can't resolve targets

    The Fix: https:// VS. git://

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

    Branch works with git://

    bower install 'git://github.com/Cordobo/ngQuill#develop' --save

    SHA Hash works with git://

    bower install 'git://github.com/Cordobo/ngQuill#2f33302' --save

    Both won’t work with https://

    bower install 'https://github.com/Cordobo/ngQuill#develop' --save
    bower install 'https://github.com/Cordobo/ngQuill#2f33302' --save

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

    "ngQuill": "git://github.com/Cordobo/ngQuill#2f33302"

    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.

    (more…)

  • Cordova Plugin for iOS 10 camera permission description

    Cordova Plugin for iOS 10 camera permission description

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

    (more…)