I'm a web dev who decided to take a shot at mobile development (My first mobile app mind you). I'm writing a mobile app and one of it's features is communicating to my server via websockets.

So I write the code, click to send the data and my server doesn't receive it. Fuck. I check why. I log everything. Nothing.
I spend several of hours and I'm exhausted by this point so i call one of our mobile developers to help me. Turns out my emulator didn't have a WiFi module. FUCK.

Alright so I compile it to an apk and install it on my phone. I popped open a terminal and started my local node server.

I click on the mobile app...


And this is the best part.
Apparently I deleted the console.dir call from my server that executed when it received some data from an emitter.

I only thought of this last night at 2am so I got up and checked. Yep. Kill me.

  • 6
    Hope you go all the way with mobile app development.

    I spent months developing my desktop app to perfection and no one seemed to be interested in my app. Then I brought out a very basic mobile app that pairs up with the desktop app. It exploded and people are now asking for the mobile app to be standalone.

    People really do love their phones.
Add Comment