DreamHouse React Native Mobile App

React Native iOS implementation of the DreamHouse mobile app. DreamHouse is an end-to-end sample application that demonstrates how to build apps on the Salesforce platform. Visit the DreamHouse Microsite for more information.

This version of the application is built with React Native and the Salesforce Mobile SDK, including some new experimental features to generate parts of the UI using Salesforce metadata.

This is an experimental project published under ForceDotComLabs, which means that:

  1. It's work in progress
  2. We need your feedback
  3. Code contributions are welcome

iOS Screenshot iOS Screenshot

TrailheaDX Presentation

Watch the recording of the presentation delivered at the TrailheaDX conference:

iOS Screenshot

Installation Instructions

  1. Follow these instructions to install the Salesforce back-end.

  2. Clone this repository:

    git clone https://github.com/ivanbogdanov/dreamhouse-mobile-react
    
  3. Navigate to the dreamhouse-mobile-react directory:

    cd dreamhouse-mobile-react
    
  4. Install the npm dependencies:

    npm install
    
  5. Install the cocoapods dependencies:

    cd ios
    pod install
    

    If the pod command is not found, install cocoapods first:

    sudo gem install cocoapods
    

    If the installation of cocoapods fails, you may need to upgrade the version of ruby installed on your system.

Run in the iOS Emulator

  1. Type the following command to open the project workspace in Xcode:

    open dreamhouse.xcworkspace
    
  2. Start the development server:

npm start
  1. in Xcode, select a phone to emulate and click Run