I’m not a heavy Safari user, but I use the heck out of the web tools when testing PhoneGap/Cordova apps. Sometime recently (I believe), the UI changed a bit in terms of the Network request panel and I couldn’t see my requests anymore. I finally figured out the issue and I thought I’d share. To be clear, when I say I figured it out, I mean I found the right post on StackOverflow and all credit goes to user enyo. I’m just writing this up and sharing pretty pictures.
When working with MobileFirst and hybrid mobile applications, any changes to your web assets requires running both a build and deploy to see your changes. The command line makes this easy by letting you combine the calls into one (
mfp bd), but while developing, it may be a pain to constantly run this. So for fun, I wrote the following Grunt script.
Yesterday I described how to make use of the Ionic framework and IBM’s MobileFirst platform. Today I’m going to build on that first post and talk about bootstrapping. Specifically – how can you coordinate the use of your application with the Cordova deviceReady and MobileFirst initialization routines.
A few weeks ago I blogged about using hybrid mobile applications and MobileFirst. Today I’m going to demonstrate how to work with Ionic and MobileFirst. What follows is a combination of the steps necessary for bringing any existing Cordova application into MobileFirst along with things necessary for Ionic specifically. As before, credit goes to my coworker Carlos Santana for figuring these steps out. I’ve also recorded a video of the process you can watch at the end of this blog post.
For the most part, upgrading to OS X Yosemite didn’t cause any issues for me, but the one change that bugged the heck out of me (and made me question what in the heck Apple was thinking), was switching the action of clicking the green icon in app windows. Previously, this would maximize the window on your screen. Now, it takes you full screen. (And this is where I question Apple. In all my time watching developers, I rarely see them use full screen. Heck, I used it for the first time last week for a video, but in my day to day work, never.)
I’m writing this rather quickly (and a bit angrily, which is a recipe for disaster but if you are building hybrid apps I’d suggest you avoid using Ratchet. I’ve used it for testing before but never for a real application. I thought it might be nice to use it for my last example in my Cordova book. I built up my sample app, tested in the browser, and everything was kosher.