Update a ‘Waiting for Review’ app and keep the version number
Recently, I submitted an app update to Apple only to find a bug that really needed to be fixed before it got to customers. However, I wanted my new fix to use the same version number I had already...
View ArticleDon’t create variables you don’t need
We were having a problem in our app where occasionally photos would load only partway. You’d see the top portion of the photo and the rest would be white. In testing, I was not seeing network errors....
View ArticleAutomating Titanium builds with Grunt
OMIGOSH, I submitted our app to Apple with it pointing to our development endpoints, not production! Stupid mistakes like this are the stuff of developer nightmares, and they can easily happen when you...
View ArticleThe right and wrong way to save file paths in Titanium
If your app requires you to save files, perhaps photos that the user snapped using your app, your first thought might be to do something like: // don't do this: var file =...
View ArticleMultiple exceptions for iOS 9 App Transport Security
As you’ve surely heard by now, Apple is requiring secure network connections (https). This requirement will apply to all newly-submitted apps for iOS 9, as well as updates to existing apps submitted...
View ArticleArggh! Failed Android install
You just spent 10 mins waiting for Titanium to build your app for Android and install your app. At the end of it all, you get a message like the following in the console: [INFO] Making sure the adb...
View ArticleSimulating a bad network connection on iOS devices
Following yesterday’s quick Android tip, here’s a quick iOS tip. Want to see how your app performs over a crappy network connection? You could tell the boss you gotta go on a field trip. Or, do this:...
View ArticleApache userdir with El Capitan
I spent four hours working through guides like this one and lots of Stack Overflow posts trying to get userdir support working again after updating from Yosemite to El Capitan. (You know, so that I can...
View ArticleRebuilding modules for Titanium 6
I’m no modules expert, nor am I native Android guru. But, when your app depends on eight or ten native modules and Appcelerator announces breaking changes in their SDK, sometimes you have to just dive...
View ArticleBuild OpenCV and install from source
I wanted to set up the latest OpenCV version on my Mac. I found various instructions, but few that applied specifically to my setup — Mac OS X High Sierra running Anaconda. What follows are my steps to...
View Article