Sunday, May 24, 2015

Den - iPhone app built with React Native for viewing houses for sale

Den is an iPhone app built with React Native for viewing houses for sale in the NW from rmls.com. After being frsutrated with a site that hasn't changed since 2004, I decided to build a better viewing experince in the phone.

Den - iPhone app built with React Native for viewing houses for sale
Den - iPhone app built with React Native for viewing houses for sale

The app was built in a weekend (or so) by one designer and one developer.

JSON workaround

Right now, React Native's bundler doesn't support JSON files. This means any module that requires a JSON file, doesn't work. Cheerio requires one, so to get it to work, I had to run it through Browserify first to package it all togheter. The React team has fixed this and it will be in the next release, but until then, I included a bundled version.

Setup

  • Clone the repo git clone https://github.com/asamiller/den
  • Install dependencies npm install
  • Move the cheerio folder into node_modules (see above)
  • Open Den.xcodeproj in Xcode
  • Hit Build and test it in the iPhone simulator
Den - iPhone app built with React Native for viewing houses for sale


1 comment:

  1. Hello,
    The Article on iPhone app built with React Native for viewing houses for sale is nice ,Thanks for sharing the article on it. Xamarin Consulting Services

    ReplyDelete